[pornhub] Add placeholder netrc machine

This commit is contained in:
Sergey M․ 2021-02-04 04:20:09 +07:00
parent 1f0910bc27
commit 2adc0c51cd
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -29,6 +29,8 @@ from ..utils import (
class PornHubBaseIE(InfoExtractor): class PornHubBaseIE(InfoExtractor):
_NETRC_MACHINE = 'pornhub'
def _download_webpage_handle(self, *args, **kwargs): def _download_webpage_handle(self, *args, **kwargs):
def dl(*args, **kwargs): def dl(*args, **kwargs):
return super(PornHubBaseIE, self)._download_webpage_handle(*args, **kwargs) return super(PornHubBaseIE, self)._download_webpage_handle(*args, **kwargs)