aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/sunporno.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-02-14 18:33:52 +0600
committerSergey M․ <dstftw@gmail.com>2015-02-14 18:33:52 +0600
commit68f2d273bfeb7aa10eba68b6c62cc0502a948c72 (patch)
tree135fb40bb37b1a9d0d0c84cf53e09e275acf94dd /youtube_dl/extractor/sunporno.py
parent7c86c216621bc95a740d2f573345d1927d8016ba (diff)
[sunporno] Keep old video regex just in case
Diffstat (limited to 'youtube_dl/extractor/sunporno.py')
-rw-r--r--youtube_dl/extractor/sunporno.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/sunporno.py b/youtube_dl/extractor/sunporno.py
index f2a1d6550..854d01bee 100644
--- 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,