No description
  • Python 64.7%
  • C# 21.7%
  • HTML 10.1%
  • PowerShell 1.6%
  • Batchfile 0.7%
  • Other 1.2%
Find a file
2026-02-09 21:39:12 +01:00
bin Updated script 2026-02-09 21:29:47 +01:00
.gitattributes Initial commit 2022-12-03 07:31:48 -05:00
.gitignore Updated script 2026-02-09 21:29:47 +01:00
.python-version Updated script 2026-02-09 21:29:47 +01:00
config.sample.json Add support for live chat downloading and VOD timeout configuration 2026-02-09 21:39:12 +01:00
extra.md Update extra.md 2022-12-16 10:04:56 -05:00
IMPROVEMENTS.md Updated script 2026-02-09 21:29:47 +01:00
install-pyenv-win.ps1 My improvements 2026-02-09 19:01:24 +01:00
loopstart.bat Updated script 2026-02-09 21:29:47 +01:00
only-vod-chat.py extra comments 2022-12-15 13:29:18 -05:00
README.md Updated script 2026-02-09 21:29:47 +01:00
requirements.txt Updated script 2026-02-09 21:29:47 +01:00
start.bat Updated script 2026-02-09 21:29:47 +01:00
startmulti - Copy.bat My improvements 2026-02-09 19:01:24 +01:00
startmulti.bat My improvements 2026-02-09 19:01:24 +01:00
twitch-archive.py Add support for live chat downloading and VOD timeout configuration 2026-02-09 21:39:12 +01:00

Twitch Archive

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.

Requirements

Getting started

  1. Install Python 3.x
  2. Install Streamlink 5.1.x
  3. If you want to upload to any cloud storage using rclone, configure rclone.
  4. git clone https://github.com/piero0920/Twitch-Archive.git
  5. cd Twitch-Archive
  6. pip install -r requirements.txt
  7. 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
  1. Copy config.sample.json to config.json and edit it with your settings (username, quality, paths, etc.)
  2. run Python twitch-archive.py or for multiple streamers Python twitch-archive.py -u streamer

...