[poipiku] warn about incorrect passwords (#3646)

pull/3656/head
Mike Fährmann 2 years ago
parent 70ce45d965
commit ce996dd21b
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -79,7 +79,7 @@ class PoipikuExtractor(Extractor):
page = self.request(
url, method="POST", headers=headers, data=data).json()["html"]
if page.startswith("You need to"):
if page.startswith(("You need to", "Password is incorrect")):
self.log.warning("'%s'", page)
for thumb in text.extract_iter(

Loading…
Cancel
Save