projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d043b9
)
Fix regex error when only subtitled video is available on arte.
author
Dominik
<meyerd@mytum.de>
Thu, 1 Aug 2013 09:48:17 +0000
(11:48 +0200)
committer
Dominik
<meyerd@mytum.de>
Thu, 1 Aug 2013 09:48:17 +0000
(11:48 +0200)
youtube_dl/extractor/arte.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/arte.py
b/youtube_dl/extractor/arte.py
index 993e30f7ad31cbbaa6c746863d3344527a3e8946..18d5916589b239c9cf12a7caa629efeea784ce86 100644
(file)
--- 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'V
O?.-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)