aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/arte.py
diff options
context:
space:
mode:
authorDominik <meyerd@mytum.de>2013-08-01 11:48:17 +0200
committerDominik <meyerd@mytum.de>2013-08-01 11:48:17 +0200
commite3f4593e76210a5afe6f52318d3f240318ededbd (patch)
tree1b230d26ec65cd91b751023e059911ef0098b0c4 /youtube_dl/extractor/arte.py
parent1d043b93cfcf9f325e668fbfa8e5059f00493871 (diff)
Fix regex error when only subtitled video is available on arte.
Diffstat (limited to 'youtube_dl/extractor/arte.py')
-rw-r--r--youtube_dl/extractor/arte.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/arte.py b/youtube_dl/extractor/arte.py
index 993e30f7a..18d591658 100644
--- a/youtube_dl/extractor/arte.py
+++ b/youtube_dl/extractor/arte.py
@@ -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)