[poipiku] warn about incorrect passwords (#3646)

This commit is contained in:
Mike Fährmann
2023-02-11 15:10:49 +01:00
parent 70ce45d965
commit ce996dd21b

View File

@@ -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(