Update yt_dlp/extractor/youtube.py

Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
pull/9546/head
Haxy 2 months ago committed by GitHub
parent 02618a53f1
commit 756e5506a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save