summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2015-02-14 18:33:52 +0600
committerSergey M․ <[email protected]>2015-02-14 18:33:52 +0600
commit68f2d273bfeb7aa10eba68b6c62cc0502a948c72 (patch)
tree135fb40bb37b1a9d0d0c84cf53e09e275acf94dd
parent7c86c216621bc95a740d2f573345d1927d8016ba (diff)
downloadyoutube-dl-68f2d273bfeb7aa10eba68b6c62cc0502a948c72.tar.gz
youtube-dl-68f2d273bfeb7aa10eba68b6c62cc0502a948c72.zip
[sunporno] Keep old video regex just in case
-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,