From 3f50e2fb5f92bfb207ad6609297a783016a89233 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Wed, 22 Jun 2022 18:21:01 +0200 Subject: [PATCH] [poipiku] add simple password support (#1602) --- gallery_dl/extractor/poipiku.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gallery_dl/extractor/poipiku.py b/gallery_dl/extractor/poipiku.py index 3b0cc7a0..e1846cc9 100644 --- a/gallery_dl/extractor/poipiku.py +++ b/gallery_dl/extractor/poipiku.py @@ -24,6 +24,8 @@ class PoipikuExtractor(Extractor): request_interval = (0.5, 1.5) def items(self): + password = self.config("password", "") + for post_url in self.posts(): parts = post_url.split("/") if post_url[0] == "/": @@ -68,7 +70,7 @@ class PoipikuExtractor(Extractor): data = { "UID": post["user_id"], "IID": post["post_id"], - "PAS": "", + "PAS": password, "MD" : "0", "TWF": "-1", }