From 1b0793fbc88d9f9c7fdbb72422843c6ddd645789 Mon Sep 17 00:00:00 2001 From: Tristan Waddington Date: Mon, 30 Mar 2020 20:18:46 -0700 Subject: [PATCH] Fixed login issue by removing cookies check. --- youtube_dl/extractor/pornhub.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/youtube_dl/extractor/pornhub.py b/youtube_dl/extractor/pornhub.py index 366d03eeb..79205c4d0 100644 --- a/youtube_dl/extractor/pornhub.py +++ b/youtube_dl/extractor/pornhub.py @@ -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):