Restore break on n parameter since we can't solve the challenge.

This commit is contained in:
David Ching 2026-02-12 16:49:49 -08:00
parent 883fda2169
commit 56b404fd7f

View file

@ -2677,6 +2677,10 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
self.write_debug(error_to_compat_str(e), only_once=True)
continue
if parse_qs(fmt_url).get('n'):
# this and (we assume) all the formats here are n-scrambled
break
language_preference = (
10 if audio_track.get('audioIsDefault')
else -10 if 'descriptive' in (traverse_obj(audio_track, ('displayName', T(lower))) or '')