diff options
author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2013-08-01 04:49:05 -0700 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2013-08-01 04:49:05 -0700 |
commit | 9bb6d2f21de82179e4c90a874b7e7c519dbc6047 (patch) | |
tree | 1b230d26ec65cd91b751023e059911ef0098b0c4 /youtube_dl/extractor | |
parent | 1d043b93cfcf9f325e668fbfa8e5059f00493871 (diff) | |
parent | e3f4593e76210a5afe6f52318d3f240318ededbd (diff) |
Merge pull request #1161 from meyerd/master
Fix regex error when only subtitled video is available on arte.
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/arte.py | 2 |
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) |