projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbf1def
)
[pornhub] Use https (#21061)
author
NRTICN
<50528161+NRTICN@users.noreply.github.com>
Wed, 22 May 2019 20:56:54 +0000
(20:56 +0000)
committer
Sergey M
<dstftw@gmail.com>
Wed, 22 May 2019 20:56:54 +0000
(
03:56
+0700)
youtube_dl/extractor/pornhub.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/pornhub.py
b/youtube_dl/extractor/pornhub.py
index bf8f0be886eba04cad55e18d65dc3f3d1179d95d..cb59d526f9be7d7f4f033bed697bae363173ec98 100644
(file)
--- 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),
+ 'http
s
://www.%s/view_video.php?viewkey=%s' % (host, video_id),
video_id, 'Downloading %s webpage' % platform)
webpage = dl_webpage('pc')