[xvideos] Switch to HTTPS (closes #18422)
authorealgase <mostdigitsofpi@gmail.com>
Thu, 6 Dec 2018 20:36:08 +0000 (15:36 -0500)
committerSergey M <dstftw@gmail.com>
Thu, 6 Dec 2018 20:36:08 +0000 (03:36 +0700)
youtube_dl/extractor/xvideos.py

index efee95651df0c21d57bca7b0ef5625dcc53d5cac..ec2d913fcadd5cb8e594460a5bf53b2ab5fce562 100644 (file)
@@ -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: