[poipiku] warn about incorrect passwords (#3646)
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user