Skip to content

karstenlee10/Twitch_Stream_To_YouTube

Repository files navigation

Twitch Stream to YouTube Script

project-image

The code is designed to run as a continuous service, monitoring streams and handling various failure scenarios automatically. It's particularly useful for maintaining 24/7 rebroadcast streams from Twitch to YouTube while handling various edge cases and failures automatically.

Detail Wiki of this Project: DeepWiki

😄THE SCRIPT IS RUNING GOOD BUT YOU WILL NEED TO DOWNGRADE YOUR CHROME VERSION [130.0.6723.70] (DON'T TRUST UNOFFICAL WEBSITE DOWNLOAD IT AT YOUR OWN RISK)😄

DOWNLOAD OLD CHROME AT YOUR OWN RISK

Need to unistall your orginal chrome(keep brower data) first and remove "Update" and "Google Update" in "C:\Program Files (x86)\Google" and stop it from updating(security issue at your own risk)

Orginal From: https://azodl.blogspot.com/2015/04/google-chrome.html

😄THE SCRIPT IS RUNING GOOD BUT YOU WILL NEED TO DOWNGRADE YOUR STREAMLINK VERSION [7.4.0] THE EXE AND THE PIP THX

🛡️ License:

PLEASE CREDIT ME ON YOUR CHANNEL WHEN USING ON YOUR channel description paste the github link
https://bit.ly/archivescript https://is.gd/archivescript

🛡️ License Example:

https://www.youtube.com/@twiARCHIVEtch

https://www.youtube.com/@FilianVODSArchive

https://www.youtube.com/@NeuroVerseUnofficalVODS

🚨 Warning:

This script is not in a complete finish state and only support WINDOWS

INSTALLATION GUIDE WILL ONLY BE UPDATE IF THE VERSION IS V1(PUBLIC RELEASE)

If you can't successfully run the google api please make an issue and give your channel's email and then I will give you a client_secret for the api

🧐 Features

Here're some of the project's best features:

  • You can set the script to public the stream after the streamer finish (for no permission restreaming someones content)
  • Archive and play back twitch stream in real time (On youtube streams after opening dvr)
  • Save VODS forever (unless YouTube delete it)
  • VODS don't have muted copyrighted music (Unless YouTube copyrighted it)
  • It is automated no need for human
  • Don't need to download the vods and upload it back to youtube
  • Faster than other vods archivers (e.g. they will need to wait for youtube processing)
  • If the stream is almost over 12 hours It will cut the stream for not losing the video after 12 hours (e.g. subathon)
  • When receive thind-party takedown notice It will stop immediately and start another stream to protect from getting copyrighted strikes on your channel (e.g. playing music or video may cause this)
  • WHATEVER LANGUAGE IS SUPPORTED USING THIS SCRIPT

👎 Disadvantage

Here're some of the project's disadvantage:

  • If you don't have twitch turbo or you have turbo but didn't input your token to streamlink, there will be ads(commercial break) on the vods
  • Sometimes youtube will cut the stream for no reason or thind-party takedown and it will causes a few minutes of archive video loss
  • This project is still in beta may have some bugs that didn't fix or found
  • Setup can be difficult for people who are not computer savvy

🛠️ Installation Steps:

read the guide(NOT UPDATED UNTIL V1 RELEASE)

GUIDE

🍰 Contribution:

L5CS has helped this Project

Make an issue when there a bug

💻 Built with

Technologies used in the project:

  • Streamlink
  • Python
  • Selenium Chromedriver
  • YouTube Data API v3
  • Gmail API
  • Twitch API
  • ffmpeg

🔜 Future Update(not promising):

  • Simplify the code
  • Make a mode that don't use any api
  • Make a gui for installation and automation
  • Make a mode the use independent webdriver.exe
  • Using a different browers
  • Add Kick/Add YouTube??(Needed support on streamlink)

💲 Donation

How to donate?

About

This python script automate archiving twitch with live streaming on youtube

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages