1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-22 08:34:32 +01:00

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

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