projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07e4035
)
[viki] Fix subtitles extraction
author
Philipp Hagemeister
<phihag@phihag.de>
Mon, 25 Nov 2013 04:58:04 +0000
(
05:58
+0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Mon, 25 Nov 2013 04:58:04 +0000
(
05:58
+0100)
youtube_dl/extractor/viki.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/viki.py
b/youtube_dl/extractor/viki.py
index 20e8bbf7ee1a6c7d97fd45fa0ce706a1a71615f7..ac199d4109fd30f55e0db7283a1c51e96261abf4 100644
(file)
--- a/
youtube_dl/extractor/viki.py
+++ b/
youtube_dl/extractor/viki.py
@@
-91,7
+91,7
@@
class VikiIE(SubtitlesInfoExtractor):
def _get_available_subtitles(self, video_id, info_webpage):
res = {}
- for sturl in re.findall(r'<track src="([^"]+)"/>'):
+ for sturl in re.findall(r'<track src="([^"]+)"/>'
, info_webpage
):
m = re.search(r'/(?P<lang>[a-z]+)\.vtt', sturl)
if not m:
continue