mirror of
https://github.com/l1ving/youtube-dl
synced 2024-12-31 00:17:51 +08:00
[dotsub] Fix extraction
This commit is contained in:
parent
c8ff645766
commit
5090d93f2c
@ -36,7 +36,8 @@ class DotsubIE(InfoExtractor):
|
|||||||
if not video_url:
|
if not video_url:
|
||||||
webpage = self._download_webpage(url, video_id)
|
webpage = self._download_webpage(url, video_id)
|
||||||
video_url = self._search_regex(
|
video_url = self._search_regex(
|
||||||
r'"file"\s*:\s*\'([^\']+)', webpage, 'video url')
|
[r'<source[^>]+src="([^"]+)"', r'"file"\s*:\s*\'([^\']+)'],
|
||||||
|
webpage, 'video url')
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'id': video_id,
|
'id': video_id,
|
||||||
|
Loading…
Reference in New Issue
Block a user