projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c86c21
)
[sunporno] Keep old video regex just in case
author
Sergey M․
<dstftw@gmail.com>
Sat, 14 Feb 2015 12:33:52 +0000
(18:33 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 14 Feb 2015 12:33:52 +0000
(18:33 +0600)
youtube_dl/extractor/sunporno.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/sunporno.py
b/youtube_dl/extractor/sunporno.py
index f2a1d65503bcbbdd3e3e51ae7168eb2fe0db62b2..854d01beeb5cefd1f82d7991ee2c0ce75ad33dfa 100644
(file)
--- a/
youtube_dl/extractor/sunporno.py
+++ b/
youtube_dl/extractor/sunporno.py
@@
-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,