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 :(
This commit is contained in:
2024-03-31 01:48:43 +08:00
parent 1f16f7cb62
commit 8775e131af
2 changed files with 20 additions and 1 deletions

View File

@@ -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)