]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/dotsub.py
Annotate changelog with bugs closed.
[youtubedl] / youtube_dl / extractor / dotsub.py
index f51d88a986b79d65cae3c1604ee3d16e9515c0fd..e9ca236d4a03c13b1b29b3386535c4262332dab0 100644 (file)
@@ -36,7 +36,8 @@ class DotsubIE(InfoExtractor):
         if not video_url:
             webpage = self._download_webpage(url, video_id)
             video_url = self._search_regex(
         if not video_url:
             webpage = self._download_webpage(url, video_id)
             video_url = self._search_regex(
-                r'"file"\s*:\s*\'([^\']+)', webpage, 'video url')
+                [r'<source[^>]+src="([^"]+)"', r'"file"\s*:\s*\'([^\']+)'],
+                webpage, 'video url')
 
         return {
             'id': video_id,
 
         return {
             'id': video_id,