Browse Source

Merge pull request #4949 from peugeot/sunporno

[sunporno] fix extraction
Sergey M. 10 years ago
parent
commit
7c86c21662
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/extractor/sunporno.py

+ 1 - 1
youtube_dl/extractor/sunporno.py

@@ -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,