projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[xvideos] Switch to HTTPS (closes #18422)
[youtube-dl]
/
youtube_dl
/
extractor
/
xvideos.py
diff --git
a/youtube_dl/extractor/xvideos.py
b/youtube_dl/extractor/xvideos.py
index efee95651df0c21d57bca7b0ef5625dcc53d5cac..ec2d913fcadd5cb8e594460a5bf53b2ab5fce562 100644
(file)
--- a/
youtube_dl/extractor/xvideos.py
+++ b/
youtube_dl/extractor/xvideos.py
@@
-45,7
+45,7
@@
class XVideosIE(InfoExtractor):
video_id = self._match_id(url)
webpage = self._download_webpage(
video_id = self._match_id(url)
webpage = self._download_webpage(
- 'http://www.xvideos.com/video%s/' % video_id, video_id)
+ 'http
s
://www.xvideos.com/video%s/' % video_id, video_id)
mobj = re.search(r'<h1 class="inlineError">(.+?)</h1>', webpage)
if mobj:
mobj = re.search(r'<h1 class="inlineError">(.+?)</h1>', webpage)
if mobj: