diff options
author | Sergey M․ <dstftw@gmail.com> | 2021-02-04 04:20:09 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2021-02-04 04:20:09 +0700 |
commit | 2adc0c51cdf38e039fba0ede11f65bbd9c71bde8 (patch) | |
tree | 1e076b8350e36cf485b9354bafeda3eec2dc103e /youtube_dl/extractor/pornhub.py | |
parent | 1f0910bc2742b16be8425841d5ed6a0fd96f82a4 (diff) |
[pornhub] Add placeholder netrc machine
Diffstat (limited to 'youtube_dl/extractor/pornhub.py')
-rw-r--r-- | youtube_dl/extractor/pornhub.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/pornhub.py b/youtube_dl/extractor/pornhub.py index 83307a233..83773aebb 100644 --- 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) |