Fixed login issue by removing cookies check.

This commit is contained in:
Tristan Waddington 2020-03-30 20:18:46 -07:00
parent a571ae79d5
commit 1b0793fbc8
No known key found for this signature in database
GPG Key ID: 19AEB0C1E96BC8EB
1 changed files with 1 additions and 2 deletions

View File

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