Update yt_dlp/extractor/youtube.py

Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
pull/9546/head
Haxy 2024-03-28 23:09:11 +00:00 zatwierdzone przez GitHub
rodzic 02618a53f1
commit 756e5506a0
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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