diff options
author | Philipp Hagemeister <[email protected]> | 2013-11-25 05:58:04 +0100 |
---|---|---|
committer | Philipp Hagemeister <[email protected]> | 2013-11-25 05:58:04 +0100 |
commit | 94ccb6fa2e3ec014bb995d05bfe634cf986d6198 (patch) | |
tree | 437be3d9c8891c5a883c4242caf795ae859b41da /youtube_dl | |
parent | 07e40358799158e51453e2d2c493d265a495b9e0 (diff) | |
download | youtube-dl-94ccb6fa2e3ec014bb995d05bfe634cf986d6198.tar.gz youtube-dl-94ccb6fa2e3ec014bb995d05bfe634cf986d6198.zip |
[viki] Fix subtitles extraction
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/viki.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/viki.py b/youtube_dl/extractor/viki.py index 20e8bbf7e..ac199d410 100644 --- 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 |