X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fdotsub.py;h=e9ca236d4a03c13b1b29b3386535c4262332dab0;hb=5c2266df4b9aeb7881ed8c026a038e2a25e43734;hp=f51d88a986b79d65cae3c1604ee3d16e9515c0fd;hpb=124f3bc67d61adeb4dc257eb8a678df821c27314;p=youtube-dl diff --git a/youtube_dl/extractor/dotsub.py b/youtube_dl/extractor/dotsub.py index f51d88a98..e9ca236d4 100644 --- a/youtube_dl/extractor/dotsub.py +++ b/youtube_dl/extractor/dotsub.py @@ -36,7 +36,8 @@ class DotsubIE(InfoExtractor): if not video_url: webpage = self._download_webpage(url, video_id) video_url = self._search_regex( - r'"file"\s*:\s*\'([^\']+)', webpage, 'video url') + [r']+src="([^"]+)"', r'"file"\s*:\s*\'([^\']+)'], + webpage, 'video url') return { 'id': video_id,