1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-27 17:26:51 +01:00

[sunporno] fix extraction

This commit is contained in:
peugeot 2015-02-14 13:29:44 +01:00
parent 3215c50f25
commit ae1580d790

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