A feature-rich command-line audio/video downloader
Fix regex error when only subtitled video is available on arte.
Dominike3f4593e7621
diff --git a/youtube_dl/extractor/arte.py b/youtube_dl/extractor/arte.pyindex 993e30f7ad..18d5916589 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 urlformats = filter(_match_lang, formats)