mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-22 16:57:40 +00:00
[viki] Fix subtitles extraction
This commit is contained in:
parent
07e4035879
commit
94ccb6fa2e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue