aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/watch.py
diff options
context:
space:
mode:
authorAstound <kirito@disroot.org>2024-03-31 01:48:43 +0800
committerAstound <kirito@disroot.org>2024-03-31 01:48:43 +0800
commit8775e131afb8ed94c27a61d8346d1109e6a51a7d (patch)
treead5ea3e926395c9e4de5bbd976c38de7cf98a1a8 /youtube/watch.py
parent1f16f7cb629df26cb05cdc2a331ec105c28bbfdc (diff)
downloadyt-local-8775e131afb8ed94c27a61d8346d1109e6a51a7d.tar.lz
yt-local-8775e131afb8ed94c27a61d8346d1109e6a51a7d.tar.xz
yt-local-8775e131afb8ed94c27a61d8346d1109e6a51a7d.zip
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 :(
Diffstat (limited to 'youtube/watch.py')
-rw-r--r--youtube/watch.py2
1 files changed, 1 insertions, 1 deletions
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)