[poipiku] add simple password support (#1602)
This commit is contained in:
parent
9d8e99af80
commit
3f50e2fb5f
@ -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",
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user