1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-09-15 23:32:25 +02:00

Merge pull request #4949 from peugeot/sunporno

[sunporno] fix extraction
This commit is contained in:
Sergey M. 2015-02-14 18:32:18 +06:00
commit 7c86c21662

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,