1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-05-11 15:49:33 +00:00

[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):
_NETRC_MACHINE = 'pornhub'
def _download_webpage_handle(self, *args, **kwargs):
def dl(*args, **kwargs):
return super(PornHubBaseIE, self)._download_webpage_handle(*args, **kwargs)