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

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

Closed Arnulfodoor closed 1 year ago

Arnulfodoor commented 1 year ago

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 ytinfo, 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 1 year ago

This might be fixed by https://github.com/xenova/chat-downloader/pull/220

I will make a new release soon.

Arnulfodoor commented 1 year ago

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 1 year ago

Just published a release (0.2.8) :)

pip install chat-downloader --upgrade 
Arnulfodoor commented 1 year ago

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

Arnulfodoor commented 1 year ago

Works perfect thanks to