projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfe0a3a
)
[xvideos] Switch to HTTPS (closes #18422)
author
ealgase
<mostdigitsofpi@gmail.com>
Thu, 6 Dec 2018 20:36:08 +0000
(15:36 -0500)
committer
Sergey M
<dstftw@gmail.com>
Thu, 6 Dec 2018 20:36:08 +0000
(
03:36
+0700)
youtube_dl/extractor/xvideos.py
patch
|
blob
|
history
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(
- '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: