1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-09-15 23:32:25 +02: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 @@ def _real_extract(self, url):
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,