From d361996fc06bdc497c6d40c87f54102ba0d81c26 Mon Sep 17 00:00:00 2001 From: Astound Date: Fri, 28 Feb 2025 10:43:14 +0800 Subject: util: use visitorData for api request watch: use android_vr client to get player data --- 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 c97d565..6c3d601 100644 --- a/youtube/watch.py +++ b/youtube/watch.py @@ -372,7 +372,7 @@ def extract_info(video_id, use_invidious, playlist_id=None, index=None): tasks = ( # Get video metadata from here gevent.spawn(fetch_watch_page_info, video_id, playlist_id, index), - gevent.spawn(fetch_player_response, 'ios', video_id) + gevent.spawn(fetch_player_response, 'android_vr', video_id) ) gevent.joinall(tasks) util.check_gevent_exceptions(*tasks) -- cgit v1.2.3