mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-12-01 20:57:54 +01:00
Added default _NETRC_MACHINE value to make tests happy.
This commit is contained in:
parent
24fa01bb5c
commit
93e281288f
@ -27,6 +27,9 @@ from ..utils import (
|
||||
|
||||
|
||||
class PornHubBaseIE(InfoExtractor):
|
||||
|
||||
_NETRC_MACHINE = 'pornhub' # or 'pornhubpremium'
|
||||
|
||||
def _download_webpage_handle(self, *args, **kwargs):
|
||||
def dl(*args, **kwargs):
|
||||
return super(PornHubBaseIE, self)._download_webpage_handle(*args, **kwargs)
|
||||
|
Loading…
Reference in New Issue
Block a user