commit ebb0449049c198f04103502c95a13171b854d1c7
parent dfe0a3a9d2e07ac1e5ad221912d03b999ebb4d75
Author: ealgase <mostdigitsofpi@gmail.com>
Date:   Thu,  6 Dec 2018 15:36:08 -0500

[xvideos] Switch to HTTPS (closes #18422)


Diffstat:
Myoutube_dl/extractor/xvideos.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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: