aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/xvideos.py
diff options
context:
space:
mode:
authorealgase <mostdigitsofpi@gmail.com>2018-12-06 15:36:08 -0500
committerSergey M <dstftw@gmail.com>2018-12-07 03:36:08 +0700
commitebb0449049c198f04103502c95a13171b854d1c7 (patch)
treecef2ae2cd1e1e7dd5f70146501c8fa1da713a296 /youtube_dl/extractor/xvideos.py
parentdfe0a3a9d2e07ac1e5ad221912d03b999ebb4d75 (diff)
[xvideos] Switch to HTTPS (closes #18422)
Diffstat (limited to 'youtube_dl/extractor/xvideos.py')
-rw-r--r--youtube_dl/extractor/xvideos.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/xvideos.py b/youtube_dl/extractor/xvideos.py
index efee95651..ec2d913fc 100644
--- 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)
+ 'https://www.xvideos.com/video%s/' % video_id, video_id)
mobj = re.search(r'<h1 class="inlineError">(.+?)</h1>', webpage)
if mobj: