code cleanup and fixes

This commit is contained in:
Mike Fährmann
2017-07-25 14:59:41 +02:00
parent f08af03845
commit 7aa9fa796a
10 changed files with 43 additions and 34 deletions

View File

@@ -180,7 +180,7 @@ class ExhentaiGalleryExtractor(Extractor):
"""Login and set necessary cookies"""
if self._check_cookies(self.cookienames):
return
username, password = self.auth_info()
username, password = self._get_auth_info()
if not username:
self.log.info("no username given; using e-hentai.org")
self.root = "https://e-hentai.org"