diff options
author | Astound <kirito@disroot.org> | 2025-02-28 10:43:14 +0800 |
---|---|---|
committer | Astound <kirito@disroot.org> | 2025-02-28 10:43:14 +0800 |
commit | d361996fc06bdc497c6d40c87f54102ba0d81c26 (patch) | |
tree | b5179cb5d2d0ba9f18efeeb9b6cd551d3c87f9fb /youtube/watch.py | |
parent | 4ef7dda14a72afb0f81f581e8f365ca04ff6f24e (diff) | |
download | yt-local-d361996fc06bdc497c6d40c87f54102ba0d81c26.tar.lz yt-local-d361996fc06bdc497c6d40c87f54102ba0d81c26.tar.xz yt-local-d361996fc06bdc497c6d40c87f54102ba0d81c26.zip |
util: use visitorData for api request
watch: use android_vr client to get player data
Diffstat (limited to 'youtube/watch.py')
-rw-r--r-- | youtube/watch.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |