projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f0910b
)
[pornhub] Add placeholder netrc machine
author
Sergey M․
<dstftw@gmail.com>
Wed, 3 Feb 2021 21:20:09 +0000
(
04:20
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 3 Feb 2021 21:20:09 +0000
(
04:20
+0700)
youtube_dl/extractor/pornhub.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/pornhub.py
b/youtube_dl/extractor/pornhub.py
index 83307a233c17da0120bb20377305f94e03513ce2..83773aebb702d0377200d277b00b3b46d43b4feb 100644
(file)
--- a/
youtube_dl/extractor/pornhub.py
+++ b/
youtube_dl/extractor/pornhub.py
@@
-29,6
+29,8
@@
from ..utils import (
class PornHubBaseIE(InfoExtractor):
+ _NETRC_MACHINE = 'pornhub'
+
def _download_webpage_handle(self, *args, **kwargs):
def dl(*args, **kwargs):
return super(PornHubBaseIE, self)._download_webpage_handle(*args, **kwargs)