mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-19 01:45:13 +00:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
95fdc7d69c
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ def _match_lang(f):
|
|||
l = 'F'
|
||||
elif lang == 'de':
|
||||
l = 'A'
|
||||
regexes = [r'VO?%s' % l, r'V%s-ST.' % l]
|
||||
regexes = [r'VO?%s' % l, r'VO?.-ST%s' % l]
|
||||
return any(re.match(r, f['versionCode']) for r in regexes)
|
||||
# Some formats may not be in the same language as the url
|
||||
formats = filter(_match_lang, formats)
|
||||
|
|
Loading…
Reference in a new issue