Browse Source

[sunporno] Keep old video regex just in case

totalwebcasting
Sergey M․ 10 years ago
parent
commit
68f2d273bf
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/sunporno.py

+ 1
- 1
youtube_dl/extractor/sunporno.py View File

@ -52,7 +52,7 @@ class SunPornoIE(InfoExtractor):
formats = []
quality = qualities(['mp4', 'flv'])
for video_url in re.findall(r'<video src="([^"]+)"', webpage):
for video_url in re.findall(r'<(?:source|video) src="([^"]+)"', webpage):
video_ext = determine_ext(video_url)
formats.append({
'url': video_url,


Loading…
Cancel
Save