xenova / chat-downloader

A simple tool used to retrieve chat messages from livestreams, videos, clips and past broadcasts. No authentication needed!
https://chat-downloader.readthedocs.io/
MIT License
902 stars 127 forks source link

Exception: "Expecting value: line 1 column 1 (char 0)" when trying to get Twitch chat #211

Closed Toby237 closed 1 year ago

Toby237 commented 1 year ago

When trying to use the program on Twitch messages an exception is thrown: "Expecting value: line 1 column 1 (char 0)"

The code used to call the code in the library that causes this exception is this: from chat_downloader import ChatDownloader ChatDownloader().get_chat(str(videoUrl)) # 'videoUrl' is an URL to a Twitch video

It seems that the exception is thrown somewhere around L303 in "chat_downloader.py"

xenova commented 1 year ago

Same as https://github.com/xenova/chat-downloader/issues/210. Fixing now.

xenova commented 1 year ago

Should be fixed in v0.2.7 (https://pypi.org/project/chat-downloader/)

Update with:

pip install --upgrade chat-downloader

Let me know if you have any other questions.