-
-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WARNING] Retry #-- (sleep for --s or press Enter). None (UnexpectedHTML) #189
Comments
Please supply the full command you ran (including the -v tag). |
chat_replay_downloader.exe -v https://www.twitch.tv/videos/1673754110 > chat.txt [DEBUG] Python version: 3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020, 23:03:10) [MSC v.1916 64 bit (AMD64 |
Right... you are using a very outdated version of the software (v0.0.9 vs 0.2.3), which still uses the v5 endpoint (discontinued as of a few days ago: see #186) First, uninstall pip uninstall chat-replay-downloader then install pip install chat-downloader You can then use the same commands as before (replacing chat_downloader https://www.twitch.tv/videos/1673754110 > chat.txt Also, to write text to a file, I would recommend using the For example, the command would become: chat_downloader https://www.twitch.tv/videos/1673754110 -o chat.txt This is because windows has errors with outputting unicode characters with |
Thank you very much for the step by step explanation, now it works like a charm :)
Using the -o flag it output the chat on very wide CSV xml format, but with the > there's not need to use a pre-configured file or anything since its just the time, name of the user and the text, and that for me is perfect, Cheers. |
I changed the default output format ( Otherwise, glad it's working again 👍 |
I've test it out, and using the |
Interesting... Could you give an example of a link that has that issue? I'll look into it further. |
Sure, check this out: https://www.twitch.tv/videos/1676578762 0:35 | (Moderator, Verified) Moobot: Anuncios! Si quieres dejar de verlos, suscrÃbete, tacaño. También puedes aguantar 120 segundos y apoyar el stream <3 and here is the correct, with 0:35 | (Moderator, Verified) Moobot: Anuncios! Si quieres dejar de verlos, suscríbete, tacaño. También puedes aguantar 120 segundos y apoyar el stream <3 |
Running chat_downloader https://www.twitch.tv/videos/1676578762 --start_time 30 --end_time 40 -o test.txt outputs the following to the text file (which is correct).
This might be an OS-dependent issue? What OS are you using? |
Here is what is happening: chat_downloader saves the output by default in UTF-8, and I use Notepad++ in spanish (and the OS as well), and it opens the chat as an ANSI file, and that's why it shows the errors. If I switch on N++ the file to UTF-8 (without bom), its shown right. Using |
Gotcha! 👍 Thanks for the info. |
Hi, today chat_replay_downloader it started to show the following:
[INFO] Site: twitch.tv
[INFO] Retrieving chat for "gameplay".
[WARNING] Retry #1 (sleep for 0s or press Enter). None (UnexpectedHTML)
[WARNING] Retry #2 (sleep for 1s or press Enter). None (UnexpectedHTML)
[WARNING] Retry #3 (sleep for 2s or press Enter). None (UnexpectedHTML)
[WARNING] Retry #4 (sleep for 4s or press Enter). None (UnexpectedHTML)
It always as worked great, till now.
Cheers.
The text was updated successfully, but these errors were encountered: