[exhentai] skip "Content Warning" page when not logged in

(closes #97)
This commit is contained in:
Mike Fährmann
2018-08-16 09:17:22 +02:00
parent 63fa0b2006
commit 2801a0d997

View File

@@ -58,6 +58,7 @@ class ExhentaiExtractor(Extractor):
self.log.info("no username given; using e-hentai.org")
self.root = "https://e-hentai.org"
self.original = False
self.session.cookies["nw"] = "1"
return
cookies = self._login_impl(username, password)
for key, value in cookies.items():