diff options
author | Sergey M․ <[email protected]> | 2015-02-14 18:33:52 +0600 |
---|---|---|
committer | Sergey M․ <[email protected]> | 2015-02-14 18:33:52 +0600 |
commit | 68f2d273bfeb7aa10eba68b6c62cc0502a948c72 (patch) | |
tree | 135fb40bb37b1a9d0d0c84cf53e09e275acf94dd | |
parent | 7c86c216621bc95a740d2f573345d1927d8016ba (diff) | |
download | youtube-dl-68f2d273bfeb7aa10eba68b6c62cc0502a948c72.tar.gz youtube-dl-68f2d273bfeb7aa10eba68b6c62cc0502a948c72.zip |
[sunporno] Keep old video regex just in case
-rw-r--r-- | youtube_dl/extractor/sunporno.py | 2 |
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, |