[ie/youtube] Remove broken ios_downgraded player client (#15786)

Closes #15782
Authored by: bashonly
This commit is contained in:
bashonly
2026-01-31 16:55:35 -06:00
committed by GitHub
parent bb1c05752c
commit c3674575fa
3 changed files with 3 additions and 35 deletions

View File

@@ -145,8 +145,8 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
r'\b(?P<id>vfl[a-zA-Z0-9_-]+)\b.*?\.js$',
)
_SUBTITLE_FORMATS = ('json3', 'srv1', 'srv2', 'srv3', 'ttml', 'srt', 'vtt')
_DEFAULT_CLIENTS = ('android_vr', 'ios_downgraded', 'web', 'web_safari')
_DEFAULT_JSLESS_CLIENTS = ('android_vr', 'ios_downgraded')
_DEFAULT_CLIENTS = ('android_vr', 'web', 'web_safari')
_DEFAULT_JSLESS_CLIENTS = ('android_vr',)
_DEFAULT_AUTHED_CLIENTS = ('tv_downgraded', 'web', 'web_safari')
# Premium does not require POT (except for subtitles)
_DEFAULT_PREMIUM_CLIENTS = ('tv_downgraded', 'web_creator', 'web')
@@ -3604,10 +3604,6 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
if client_name == 'web_safari' and proto == 'hls' and live_status != 'is_live':
f['source_preference'] -= 1
# Safeguard against inevitable ios_downgraded client breakage
if client_name == 'ios_downgraded' and proto == 'hls' and live_status != 'is_live':
f['__needs_testing'] = True
if missing_pot:
f['format_note'] = join_nonempty(f.get('format_note'), 'MISSING POT', delim=' ')
f['source_preference'] -= 20