From: Sergey M․ Date: Wed, 3 Feb 2021 21:20:09 +0000 (+0700) Subject: [pornhub] Add placeholder netrc machine X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=2adc0c51cdf38e039fba0ede11f65bbd9c71bde8;p=youtube-dl [pornhub] Add placeholder netrc machine --- 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)