Inspired by https://github.com/EnterGin/Auto-Stream-Recording-Twitch
Python script to check, download live stream, VOD, chat and upload them to any cloud storage supported by rclone.
- Install Python 3.x
- Install Streamlink 5.1.x
- If you want to upload to any cloud storage using rclone, configure rclone.
git clone https://github.com/piero0920/Twitch-Archive.git
cd Twitch-Archive
pip install -r requirements.txt
- Edit the
.env.sample
and rename it to.env
CLIENT-ID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
CLIENT-SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
OAUTH-PRIVATE-TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # optional to record without ADS or download sub-only VODS
- if you want to enable/disable more available options, edit
twitch-archive.py
- run
Python twitch-archive.py
or for multiple streamersPython twitch-archive.py -u streamer