Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

⛔ [DEPRECATED] Active at https://github.com/cr08/TwitchVault -- Download twitch vods, clips, and render videos with chat.

License

Notifications You must be signed in to change notification settings

cr08/twitch_vod_creator

 
 

Repository files navigation

TwitchVault No Maintenance Intended

Simplified tool to automatically archive VODs, clips, highlights, including associated chat logs for specified Twitch channels

NOTE: ⛔ [DEPRECATED] This repo/fork has been deprecated - Migrated to standalone repo: TwitchVault (https://github.com/cr08/TwitchVault)


Concept

My personal goal has been to find or develop a tool that can not only automate archiving the latest VODs, clips, and highlights from selected Twitch channels, but also archiving the chat logs as they are available for each medium.

Install Guide

  1. Ensure Python 3.6 minimum is installed.
  2. Clone this repository:
    • git clone https://github.com/cr08/twitch_vod_creator
  3. Install main python depencies:
    • python3 -m pip install --user -r requirements.txt
  4. Download and place TwitchDownloaderCLI for your platform into /thirdparty
    • Latest release recommended, minimum 1.50.6 required as it fixes a chat download issue
    • Ensure TwitchDownloaderCLI is set as executable. This may be necessary on *nix platforms
      • chmod x thirdparty/TwitchDownloaderCLI
  5. Copy and fill out all config/*.yaml.example files as necessary.
    • An application needs to be registered with Twitch from the Twitch Dev console - client ID and secret need to be entered into config/config.yaml
  6. Run scripts as desired:
    • python3 videos.py
    • python3 clips.py
  7. Optional - Linux targets: Add scripts to crontab using docs/crontab_script_launcher.sh
    • sudo crontab -e
    • */25 * * * * /path/to/repo/docs/crontab_script_launcher.sh videos.py
      * */12 * * * /path/to/repo/docs/crontab_script_launcher.sh clips.py
      

Known Issues

  • VTT render produces files with a single word displayed at a time (at least as played via VLC). This needs to be fixed. I may just switch this to SRT as Vosk can natively output this and hopefully it outputs correctly. More testing needed here...

Credit & Attribution

This repo has been heavily modified from goldbattle's Twitch VOD Creator - All credit and attribution as well as a huge amount of thanks goes out to them for creating the core functionality of automatically retrieving the requisite content from Twitch.

About

⛔ [DEPRECATED] Active at https://github.com/cr08/TwitchVault -- Download twitch vods, clips, and render videos with chat.

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • Python 100.0%