summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/poipiku.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/poipiku.py')
-rw-r--r--gallery_dl/extractor/poipiku.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/gallery_dl/extractor/poipiku.py b/gallery_dl/extractor/poipiku.py
index f42016f..bd22283 100644
--- a/gallery_dl/extractor/poipiku.py
+++ b/gallery_dl/extractor/poipiku.py
@@ -23,6 +23,12 @@ class PoipikuExtractor(Extractor):
archive_fmt = "{post_id}_{num}"
request_interval = (0.5, 1.5)
+ def _init(self):
+ self.cookies.set(
+ "LANG", "en", domain="poipiku.com")
+ self.cookies.set(
+ "POIPIKU_CONTENTS_VIEW_MODE", "1", domain="poipiku.com")
+
def items(self):
password = self.config("password", "")
@@ -59,7 +65,7 @@ class PoipikuExtractor(Extractor):
"//img.", "//img-org.", 1)
yield Message.Url, url, text.nameext_from_url(url, post)
- if not extr(' show all(+', '<'):
+ if not extr('ShowAppendFile', '<'):
continue
url = self.root + "/f/ShowAppendFileF.jsp"