Browse Source

[sunporno] fix extraction

master
peugeot 9 years ago
parent
commit
ae1580d790
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/extractor/sunporno.py

2
youtube_dl/extractor/sunporno.py

@ -52,7 +52,7 @@ class SunPornoIE(InfoExtractor):
formats = [] formats = []
quality = qualities(['mp4', 'flv']) 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) video_ext = determine_ext(video_url)
formats.append({ formats.append({
'url': video_url, 'url': video_url,

Loading…
Cancel
Save