]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/sunporno.py
Prepare for release.
[youtubedl] / youtube_dl / extractor / sunporno.py
index 8a333f1d24d6be3bd5160d843c3cd6451ef83178..854d01beeb5cefd1f82d7991ee2c0ce75ad33dfa 100644 (file)
@@ -52,7 +52,7 @@ class SunPornoIE(InfoExtractor):
 
         formats = []
         quality = qualities(['mp4', 'flv'])
-        for video_url in re.findall(r'<source src="([^"]+)"', webpage):
+        for video_url in re.findall(r'<(?:source|video) src="([^"]+)"', webpage):
             video_ext = determine_ext(video_url)
             formats.append({
                 'url': video_url,