[ie/youtube] Set tv_samsung as a default client (#17805)

Authored by: ruben1PvP
This commit is contained in:
ruben1PvP
2026-10-10 23:15:52 +02:00
committed by GitHub
parent 817450d28d
commit 897341241f
2 changed files with 4 additions and 5 deletions
+3 -4
View File
@@ -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':