mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-07 05:57:16 +08:00
Fixed login issue by removing cookies check.
This commit is contained in:
parent
a571ae79d5
commit
1b0793fbc8
@ -62,8 +62,7 @@ class PornHubBaseIE(InfoExtractor):
|
||||
' You may want to use --cookies or --netrc.',
|
||||
expected=True)
|
||||
|
||||
cookies = self._get_cookies('https://%s' % host)
|
||||
if all(login_info) and not cookies:
|
||||
if all(login_info):
|
||||
self._login(host, login_info)
|
||||
|
||||
def _login(self, host, login_info):
|
||||
|
Loading…
x
Reference in New Issue
Block a user