1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-22 01:13:00 +08:00

Fix regex error when only subtitled video is available on arte.

This commit is contained in:
Dominik 2013-08-01 11:48:17 +02:00
parent 1d043b93cf
commit e3f4593e76

View File

@ -98,7 +98,7 @@ class ArteTvIE(InfoExtractor):
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)