Closed delovelady closed 3 years ago
Program version: 0.0.8
Please upgrade to the latest version (0.1.9). This was fixed a few months ago in https://github.com/xenova/chat-downloader/commit/1941c9cdb6feddcbea9a7a6b7643dcab429aa738
You can upgrade using
pip3 install chat-downloader --upgrade
Thanks so much @xenova ! Solved it!
Basic information
Describe the bug
When trying to download recent chats from YouTube, receiving consistent failures (from my extreme novice stance, looks like some sort of emoticon(s) causing an issue).
Command/Code used Any of these examples will fail:
/usr/local/bin/chat_downloader --format json --output /path/yW5-gMRjzd4.json https://youtu.be/yW5-gMRjzd4 /usr/local/bin/chat_downloader --format json --output /path/yW5-gMRjzd4.json https://youtu.be/Wz0cd2F0B-Y /usr/local/bin/chat_downloader --format json --output /path/yW5-gMRjzd4.json https://youtu.be/ZlrMa3tSEJc
I don't know enough about Python to be able to diagnose at all.
If running from the command line, provide the following:
-v
):If the output is too long, you can attach a text file or remove output which does not constitute to the problem.
Otherwise, if using the python module, provide the following:
Expected behavior
A clear and concise description of what you expected to happen. Expected to have two outputs: stdout should contain the clear-text chat json file (/path/yW5-gMRjzd4.json) should have json representation of same chat information (but with more detail)
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context/information
Add any other context or information about the problem here.
I have an "outer" script that is kicked off when a new chat livestream is detected on my YouTube channel. The script, among other things, calls chat_downloader with the above options, to give a searchable record of the chat for nostalgic and research reasons.
This application (chat_downloader) had been working great for me (also chat-replay-downloader, which seems to be (almost) the same program)... but recently - last three weeks or so - it has consistently failed. I suspect my viewers (or a viewer) has discovered some emoji feature not encountered before.