xenova/chat-downloader

[BUG] On my pc it works but on my friend's it doesn't

Closed this issue · 5 comments

I made a bot which uses the google api to write in the live youtube chat, put music and others, the recognition of the messages is with chat downloader and on my pc it works great but in my friend's gives the following error:

Ingresa la URL del directo
https://www.youtube.com/live/Lme_89jvkMk?si=tiQqq62vU7B5Yyb3
Traceback (most recent call last):
File "C:\Users\playsm\Mi unidad\Bot[server.py"](http://server.py%22/), line 63, in
for mensaje in chat:
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\playsm\AppData\Local\Packages[PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\chat_downloader\sites\common.py"](http://pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0/LocalCache/local-packages/Python311/site-packages/chat_downloader/sites/common.py%22), line 283, in next
item = next(self.chat)
^^^^^^^^^^^^^^^
File "C:\Users\playsm\AppData\Local\Packages[PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\chat_downloader\sites\youtube.py"](http://pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0/LocalCache/local-packages/Python311/site-packages/chat_downloader/sites/youtube.py%22), line 2135, in _get_chat_messages_by_user_args
for video in islice(vids, max_vids_to_try):
File "C:\Users\playsm\AppData\Local\Packages[PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\chat_downloader\sites\youtube.py"](http://pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0/LocalCache/local-packages/Python311/site-packages/chat_downloader/sites/youtube.py%22), line 1241, in get_user_videos
yt_info, ytcfg, _ = self._get_initial_info(
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\playsm\AppData\Local\Packages[PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\chat_downloader\sites\youtube.py"](http://pythonsoftwarefoundation.python.3.11_qbz5n2kfra8p0/LocalCache/local-packages/Python311/site-packages/chat_downloader/sites/youtube.py%22), line 1447, in _get_initial_info
raise ParsingError(f'Unable to parse initial video data')
chat_downloader.errors.ParsingError: Unable to parse initial video data

xenova commented

This might be fixed by #220

I will make a new release soon.

This might be fixed by #220

I will make a new release soon.

Do you have an estimated date that could you tell me?

xenova commented

Just published a release (0.2.8) :)

pip install chat-downloader --upgrade 

Just published a release (0.2.8) :)

pip install chat-downloader --upgrade 

It was fast, I'm going to tell my friend and to what he answers me I say, Thank you

Works perfect thanks to