Skip to content

Commit

Permalink
[poipiku] add simple password support (#1602)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikf committed Jun 22, 2022
1 parent 9d8e99a commit 3f50e2f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gallery_dl/extractor/poipiku.py
Original file line number Diff line number Diff line change
Expand Up @@ -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] == "/":
Expand Down Expand Up @@ -68,7 +70,7 @@ def items(self):
data = {
"UID": post["user_id"],
"IID": post["post_id"],
"PAS": "",
"PAS": password,
"MD" : "0",
"TWF": "-1",
}
Expand Down

0 comments on commit 3f50e2f

Please sign in to comment.