Streamlink Index Home Twitch Recover

Twitch Stream Recorder

This is similar to Streamlink - just that it's a python script that runs 24/7, and doesn't stop like Streamlink after the stream ends. This is what you want to use to record a channel 24/7, it's also what I'm using to record Nyanners' VODs for my archive.

You can download Twitch Stream Recorder from here: https://github.com/ancalentari/twitch-stream-recorder

Mirror for Twitch Stream recorder: Mega

You will need all of the following installed for this to work:

Python: https://www.python.org/downloads/release/python-380/

Streamlink: https://streamlink.github.io/install.html

Requests module: https://pypi.org/project/requests/

You also need to have FFmpeg installed for Twitch stream recorder to be able to mux the final file. Simply check google for an installation guide, or check out the following video on how to install FFmpeg:

https://www.youtube.com/watch?v=r1AtmY-RMyQ
(Mirror of the video: Catbox)

"Installing" Twitch Stream Recorder:

Basically, this is the easiest part of this - just put the "twitch recorder.py" and the "config.py" files into your "c:/Users/Username/" folder and edit the "config.py" file.

Editing the Config File:

Root Path = C:/Streams - default path where Recorded VODs will be saved you can change C:/ to whatever drive letter you want to save recorded VODs to.

Username = Twitch channel name of the person you want to record.

Client_id = You can get this from here after registering an application: https://dev.twitch.tv/console/apps

Client_secret = You can also get this from here after registering an application: https://dev.twitch.tv/console/apps

To make it easier to understand how to get the Client ID and Secret ID, let me add the following:

Into the "Name", just type whatever you want to name this thing.

In the "OAuth Redirect URLs", just put in the following: https://localhost

For the category, I used "Application Integration"

Then you click on create:

After that, click on the captcha, confirm you are not a robot, and click on "create".

After, that click on "Verify", and after that, in the "Developer Applications" window, click "manage" on the new application you just registered:

and there you will find the "client ID" that you need.Under Client Secret you can generate the "client Secret" by clicking on "new Secret":

Press OK on the popup window, and after that is done, click on "Save". You now have both the "client ID" and "Secret client id" you need to input into your "config.py" file of Twitch stream recorder for it to work.

---

To use Twitch recorder, simply copy and paste any of these and put them into a terminal/CMD Window and press enter. It should start checking if your desired channel goes live every 15 seconds:

To make it easy here the command line command that you can just copy and paste into a command line window:

python twitch-recorder.py -u Insert_Twitch_Channel_Name_Here

Simply replace the "Insert_Twitch_Channel_Name_Here" with your desired Twitch channel you wish to record.

As this also uses streamlink, you can basically use options from the streamlink page: https://streamlink.github.io/cli.html#general-options




Streamlink Index Home Twitch Recover