aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorNRTICN <50528161+NRTICN@users.noreply.github.com>2019-05-22 20:56:54 +0000
committerSergey M <dstftw@gmail.com>2019-05-23 03:56:54 +0700
commit2c53c0ebc63b7fbb36d05491d5d3796d3e511e26 (patch)
tree97699d8e1b44bb1d4f9f7c70f9148292a3649d36 /youtube_dl/extractor
parentbbf1defe586f4b4cb7b35aa3da67c5dc786d9a2c (diff)
[pornhub] Use https (#21061)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/pornhub.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/pornhub.py b/youtube_dl/extractor/pornhub.py
index bf8f0be88..cb59d526f 100644
--- 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')