From: Sergey M․ Date: Fri, 24 Apr 2015 15:47:13 +0000 (+0600) Subject: [dotsub] Fix extraction X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=5090d93f2c7e5d40cd6d7a8c9eda789f67bd1eb8;p=youtube-dl [dotsub] Fix extraction --- 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,