[poipiku] fix downloading R-18 posts (#5567)
… by automatically sending a `POIPIKU_CONTENTS_VIEW_MODE=1` cookie to enable "adult" mode.
This commit is contained in:
@@ -23,6 +23,10 @@ class PoipikuExtractor(Extractor):
|
||||
archive_fmt = "{post_id}_{num}"
|
||||
request_interval = (0.5, 1.5)
|
||||
|
||||
def _init(self):
|
||||
self.cookies.set(
|
||||
"POIPIKU_CONTENTS_VIEW_MODE", "1", domain="poipiku.com")
|
||||
|
||||
def items(self):
|
||||
password = self.config("password", "")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user