rechat-dl is a simple command-line tool to download the Chat Replay messages and metadata of Twitch VODs for archival purposes.
- Clone the repository or download the zip
- Install the
requests
library, if not yet installed:pip install requests
rechat-dl requires version 2.7+ of the Python interpreter. Its only dependency is requests.
rechat-dl.py VOD-ID [FILE]
VOD-ID: can be found in the vod url like this:
https://www.twitch.tv/streamername/v/{VOD-ID}
FILE (optional): the file the chat messages will be saved into.
if not set, it's rechat-{VOD-ID}.json
The outputted .json file contains a simplified json array, containing the following from the chat replay messages:
-Sender
-Message
-Timestamp
There's no documentation for the Chat Replay API yet, but its output is very similiar to the IRC interface.
This tool only downloads the chat messages, but doesn't offer a way to view them in real-time alongside a VOD.
This fork is meant to provide a simplified output for something i have in mind.