commit 2c53c0ebc63b7fbb36d05491d5d3796d3e511e26
parent bbf1defe586f4b4cb7b35aa3da67c5dc786d9a2c
Author: NRTICN <50528161+NRTICN@users.noreply.github.com>
Date:   Wed, 22 May 2019 20:56:54 +0000

[pornhub] Use https (#21061)


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

diff --git a/youtube_dl/extractor/pornhub.py b/youtube_dl/extractor/pornhub.py @@ -170,7 +170,7 @@ class PornHubIE(PornHubBaseIE): def dl_webpage(platform): self._set_cookie(host, 'platform', platform) return self._download_webpage( - 'http://www.%s/view_video.php?viewkey=%s' % (host, video_id), + 'https://www.%s/view_video.php?viewkey=%s' % (host, video_id), video_id, 'Downloading %s webpage' % platform) webpage = dl_webpage('pc')