[sunporno] fix extraction
authorpeugeot <peugeot.com>
Sat, 14 Feb 2015 12:29:44 +0000 (13:29 +0100)
committerpeugeot <peugeot.com>
Sat, 14 Feb 2015 12:29:44 +0000 (13:29 +0100)
youtube_dl/extractor/sunporno.py

index 8a333f1d24d6be3bd5160d843c3cd6451ef83178..f2a1d65503bcbbdd3e3e51ae7168eb2fe0db62b2 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'<video src="([^"]+)"', webpage):
             video_ext = determine_ext(video_url)
             formats.append({
                 'url': video_url,