1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-29 19:47:54 +01:00

Added default _NETRC_MACHINE value to make tests happy.

This commit is contained in:
Tristan Waddington 2020-03-08 12:53:33 -07:00
parent 24fa01bb5c
commit 93e281288f
No known key found for this signature in database
GPG Key ID: 19AEB0C1E96BC8EB

View File

@ -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)