
Security News
Django Joins curl in Pushing Back on AI Slop Security Reports
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
chat-replay-downloader
Advanced tools
A simple tool used to retrieve chat messages from livestreams, videos, clips and past broadcasts. No authentication needed!
A simple tool used to retrieve chat messages from livestreams, videos, clips and past broadcasts. No authentication needed!
pip
pip install chat-replay-downloader
To update to the latest version, add the --upgrade
flag to the above command.
git
git clone https://github.com/xenova/chat-replay-downloader.git
cd chat-replay-downloader
python setup.py install
from chat_replay_downloader import ChatDownloader
url = 'https://www.youtube.com/watch?v=5qap5aO4i9A'
chat = ChatDownloader().get_chat(url) # create a generator
for message in chat: # iterate over messages
print(chat.format(message)) # print the formatted message
For advanced python use-cases and examples, consult the Python Wiki.
chat_replay_downloader https://www.youtube.com/watch?v=5qap5aO4i9A
For advanced command line use-cases and examples, consult the Command Line Wiki.
Found a bug or have a suggestion? File an issue here. To assist the developers in fixing the issue, please follow the issue template (automatically generated when creating a new issue).
To run the program as a developer, you do not need to build anything separately. Simply execute:
python -m chat_replay_downloader
[work in progress]
Fork this repository.
Clone the source code with:
git clone git@github.com:YOUR_GITHUB_USERNAME/chat-replay-downloader.git
Start a new branch with:
cd youtube-dl
git checkout -b site
Rest of guide in progress...
If you are unable to write code but still wish to assist, we encourage users to run commands with the --testing
flag included. This will print debugging messages and pause once something unexpected happens (e.g. when an unknown item is being parsed). If something happens, please raise an issue and we will fix it or add support for it as soon as possible!
Note that this will not affect any output you write to files (using --output
).
For example:
chat_replay_downloader https://www.youtube.com/watch?v=5qap5aO4i9A --testing
Some extractors use undocumented endpoints and may and as a result, users may encounter items which will not be parsed correctly. Increased testing will improve functionality of the software for other users and is greatly appreciated.
Chat items are parsed into JSON objects (a.k.a. dictionaries) and follow this template:
[work in progress]
For a more in-depth output template, consult the Item Wiki.
FAQs
A simple tool used to retrieve chat messages from livestreams, videos, clips and past broadcasts. No authentication needed!
We found that chat-replay-downloader demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.