29 lines
1.4 KiB
Markdown
29 lines
1.4 KiB
Markdown
# 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 service supported by rclone.
|
|
## Requirements
|
|
- [Python 3](https://www.python.org/downloads/)
|
|
- [Streamlink](https://github.com/streamlink/streamlink)
|
|
## Getting started
|
|
1. Install Python 3
|
|
2. Install Streamlink
|
|
3. If you want to upload to any cloud service using rclone, [configure rclone](https://rclone.org/docs/#configure) (Doesnt need to download, the `rclone.exe` is avalible in [bin/rclone.exe](https://github.com/piero0920/Twitch-Archive/blob/main/bin/rclone.exe)).
|
|
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`
|
|
```.env
|
|
CLIENT-ID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
CLIENT-SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
OAUTH-PRIVATE-TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
```
|
|
8. if you want to enable/disable more available options, edit `twitch-archive.py`
|
|
9. run `Python twitch-archive.py` or for multiple streamers `Python twitch-archive.py -u streamer`
|
|
## Features
|
|
- Auto records the live stream
|
|
- Downloads the VOD after stream ended
|
|
- Downloads the chat logs of the VOD and renders it
|
|
- Downloads the metadata of the VOD
|
|
- Uploads them to the Cloud
|
|
- Notifies you through Gmail of the progress
|