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

(closes #97)
pull/133/head
Mike Fährmann 6 years ago
parent 63fa0b2006
commit 2801a0d997
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

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

Loading…
Cancel
Save