1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-12-01 18:52:57 +01:00

Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Allan Zhou 2013-08-01 10:57:12 -07:00
commit 95fdc7d69c

View File

@ -98,7 +98,7 @@ class ArteTvIE(InfoExtractor):
l = 'F' l = 'F'
elif lang == 'de': elif lang == 'de':
l = 'A' 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) return any(re.match(r, f['versionCode']) for r in regexes)
# Some formats may not be in the same language as the url # Some formats may not be in the same language as the url
formats = filter(_match_lang, formats) formats = filter(_match_lang, formats)