mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-11-03 19:32:46 +02:00
[ie/youtube] Set tv_samsung as a default client (#17805)
Authored by: ruben1PvP
This commit is contained in:
@@ -140,11 +140,11 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||
_RETURN_TYPE = 'video' # XXX: How to handle multifeed?
|
||||
|
||||
_SUBTITLE_FORMATS = ('json3', 'srv1', 'srv2', 'srv3', 'ttml', 'srt', 'vtt')
|
||||
_DEFAULT_CLIENTS = ('visionos', 'web')
|
||||
_DEFAULT_CLIENTS = ('tv_samsung', 'visionos', 'web')
|
||||
_DEFAULT_JSLESS_CLIENTS = ('visionos',)
|
||||
_DEFAULT_AUTHED_CLIENTS = ('web_embedded', 'tv_downgraded', 'web')
|
||||
_DEFAULT_AUTHED_CLIENTS = ('web_embedded', 'tv_samsung', 'web')
|
||||
# Premium does not require POT (except for subtitles)
|
||||
_DEFAULT_PREMIUM_CLIENTS = ('web_creator', 'tv_downgraded', 'web')
|
||||
_DEFAULT_PREMIUM_CLIENTS = ('web_creator', 'tv_samsung', 'web')
|
||||
_WEBPAGE_CLIENTS = ('web', 'web_safari')
|
||||
_DEFAULT_WEBPAGE_CLIENT = 'web'
|
||||
|
||||
@@ -3151,7 +3151,6 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||
and any(p.is_available() for p in self._jsc_director.providers.values())
|
||||
):
|
||||
append_client('web_embedded')
|
||||
append_client('tv_downgraded')
|
||||
|
||||
# web_embedded can work around age-gate and age-verification for some embeddable videos
|
||||
if self._is_agegated(pr) and variant != 'web_embedded':
|
||||
|
||||
Reference in New Issue
Block a user