1
0
Fork 0
mirror of https://github.com/blackjack4494/yt-dlc.git synced 2024-12-22 15:57:23 +00:00

[xvideos] Switch to HTTPS (closes #18422)

This commit is contained in:
ealgase 2018-12-06 15:36:08 -05:00 committed by Sergey M
parent dfe0a3a9d2
commit ebb0449049

View file

@ -45,7 +45,7 @@ class XVideosIE(InfoExtractor):
video_id = self._match_id(url) video_id = self._match_id(url)
webpage = self._download_webpage( 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) mobj = re.search(r'<h1 class="inlineError">(.+?)</h1>', webpage)
if mobj: if mobj: