You can also use a constant description for all your uploads by changing the text in constdesc.txt file. You can find the list of categoy IDs here. If your video belongs to any category other than Gaming, you need to mention the appropriate category ID. However, the vod will be available in the videos page only if the streamer enables " past broadcasts" option on his/her channel. You can find the VOD URL by going to and open the most recent video, this is same as the current live stream but here you can also rewind the stream. For example, is an invalid input, you must enter something like NOTE: For Twitch VOD URL, make sure you enter the URL of the video and not the live stream. This will create a file named credentials.txt in the same directory.
#Twitch rewind download#
Download the client secrets JSON file (click download icon next to newly created client ID) and save it as file client_secrets.json in the same directory as the script.Add an 'Authorized redirect URI' of '.Create Client ID (APIs & Services -> Credentials -> Create Credentials), select 'Oauth client ID', select type 'Web application'.Add the email address of the channel in 'Test Users' and Save.Add the scope ' youtube.upload', and then 'Save and Continue'.Configure your App name, developer email, etc and go to Scopes.Go to APIs & Services -> OAuth Consent screen.Enable the Youtube API (APIs & Services -> Enable APIs and Services).Create an account on the Google Developers Console.
![twitch rewind twitch rewind](https://img.paratic.com/dosya/2020/11/twitch-yayinci-2020-rewind-videosu-687x400.jpg)
You need to first create an account on Google Cloud Platform in-order to use the YouTube Data API v3 (which is required to programatically upload videos to YouTube).