Skip to content
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

Outdated client error. Retrying shortly... #66

Open
channelmars opened this issue Apr 22, 2023 · 1 comment
Open

Outdated client error. Retrying shortly... #66

channelmars opened this issue Apr 22, 2023 · 1 comment

Comments

@channelmars
Copy link

channelmars commented Apr 22, 2023

2023-04-22 15:02:48,856 - WARNING - download.o7q7ahC5eMI - Outdated client error. Retrying shortly...
2023-04-22 15:02:48,856 - INFO - livestream_saver.util - Sleeping for 4.71 minutes (282.53 seconds)...
2023-04-22 15:07:31,574 - INFO - download.o7q7ahC5eMI - Stream seems to be viewed live. Good.
2023-04-22 15:07:31,574 - WARNING - download.o7q7ahC5eMI - Livestream o7q7ahC5eMI playability status is: ERROR Reason: This video is unavailable. Sub-reason: Watch on the latest version of YouTube.. Error reason: The following content is not available on this app..
2023-04-22 15:07:31,576 - WARNING - download.o7q7ahC5eMI - Outdated client error. Retrying shortly...
2023-04-22 15:07:31,576 - INFO - livestream_saver.util - Sleeping for 5.21 minutes (312.50 seconds)...

AND

streaming_data = stream_data["player_response"]["streamingData"]
KeyError: 'streamingData'
2023-04-22 14:53:17,584 - WARNING - download.o7q7ahC5eMI - Failed to get streams from fmt_streams (pytube error).
2023-04-22 14:53:17,584 - INFO - download.o7q7ahC5eMI - Getting stream descriptors from MPD...
2023-04-22 14:53:17,584 - CRITICAL - download.o7q7ahC5eMI - No streamingData in json. Cannot load MPD.
2023-04-22 14:53:17,587 - ERROR - download.o7q7ahC5eMI - Unhandled exception. Aborting.
Traceback (most recent call last):
File "E:\Downloads\livestream_saver-main\livestream_saver\download.py", line 1152, in download
self.do_download()
File "E:\Downloads\livestream_saver-main\livestream_saver\download.py", line 1249, in do_download
self.update_download_urls(force=True)
File "E:\Downloads\livestream_saver-main\livestream_saver\download.py", line 1028, in update_download_urls
video_quality, audio_quality = self.get_best_streams(
File "E:\Downloads\livestream_saver-main\livestream_saver\download.py", line 1423, in get_best_streams
avail_streams = self.streams
File "E:\Downloads\livestream_saver-main\livestream_saver\download.py", line 669, in streams
raise Exception("Failed to load stream descriptors!")
Exception: Failed to load stream descriptors!
2023-04-22 14:53:17,587 - CRITICAL - download.o7q7ahC5eMI - Some kind of error occured during download? Failed to load stream descriptors!

I keep getting this error every time I download a live stream and it's been happening a lot lately. I usually have to manually restart the download and wait a couple of minutes for it to restart. I wonder if YouTube broke the script.

@glubsy
Copy link
Owner

glubsy commented Apr 24, 2023

Thanks for the report. Yes I'm aware of the issue, youtube started breaking more and more a few weeks ago. Still not really sure how to fix the problem unless perhaps resorting to delegate the download step to yt-dlp or something as a temporary measure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants