mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-23 00:54:31 +01: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.',
|
' You may want to use --cookies or --netrc.',
|
||||||
expected=True)
|
expected=True)
|
||||||
|
|
||||||
cookies = self._get_cookies('https://%s' % host)
|
if all(login_info):
|
||||||
if all(login_info) and not cookies:
|
|
||||||
self._login(host, login_info)
|
self._login(host, login_info)
|
||||||
|
|
||||||
def _login(self, host, login_info):
|
def _login(self, host, login_info):
|
||||||
|
Loading…
Reference in New Issue
Block a user