From 8775e131afb8ed94c27a61d8346d1109e6a51a7d Mon Sep 17 00:00:00 2001 From: Astound Date: Sun, 31 Mar 2024 01:48:43 +0800 Subject: Temporal fix: all requests with ANDROID client get redirected to aQvGIIdgFDM video, hence the different "content not available" Set YTMUSIC_ANDROID client instead, but it's just the matter of time before youtube updates that one too :( --- youtube/watch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'youtube/watch.py') diff --git a/youtube/watch.py b/youtube/watch.py index ceb66ea..cd0eb53 100644 --- a/youtube/watch.py +++ b/youtube/watch.py @@ -382,7 +382,7 @@ def extract_info(video_id, use_invidious, playlist_id=None, index=None): # Update 4/26/23, these URLs will randomly start returning 403 # mid-playback and I'm not sure why - gevent.spawn(fetch_player_response, 'android', video_id) + gevent.spawn(fetch_player_response, 'android_music', video_id) ) gevent.joinall(tasks) util.check_gevent_exceptions(*tasks) -- cgit v1.2.3