1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-10-31 22:55:18 +00:00

[ie/youtube] Deprioritize iOS client formats (#8337)

Authored by: bashonly
This commit is contained in:
bashonly
2023-10-28 03:01:31 -05:00
committed by GitHub
parent 4ce2f29a50
commit 39abae2354
2 changed files with 2 additions and 2 deletions

View File

@@ -3619,7 +3619,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
def _get_requested_clients(self, url, smuggled_data):
requested_clients = []
default = ['ios', 'android', 'web']
default = ['android', 'web', 'ios']
allowed_clients = sorted(
(client for client in INNERTUBE_CLIENTS.keys() if client[:1] != '_'),
key=lambda client: INNERTUBE_CLIENTS[client]['priority'], reverse=True)