mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2026-04-29 07:33:26 +00:00
Restore break on n parameter since we can't solve the challenge.
This commit is contained in:
parent
883fda2169
commit
56b404fd7f
|
|
@ -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 '')
|
||||
|
|
|
|||
Loading…
Reference in a new issue