Skip to content

Commit

Permalink
update Nandaka#505
Browse files Browse the repository at this point in the history
  • Loading branch information
Nandaka committed Nov 1, 2019
1 parent 60bbd28 commit 9ed37c8
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 350 deletions.
2 changes: 1 addition & 1 deletion PixivBrowserFactory.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def processLoginResult(self, response, username, password):
else:
if result["body"] is not None and result["body"].has_key("validation_errors"):
PixivHelper.print_and_log('info', "Server reply: " + str(result["body"]["validation_errors"]))
if str(result["body"]["validation_errors"]).find("reCAPTCHA" > 0):
if str(result["body"]["validation_errors"]).find("reCAPTCHA") > 0:
print("Please follow the method described in https://github.com/Nandaka/PixivUtil2/issues/505")
else:
PixivHelper.print_and_log('info', 'Unknown login issue, please use cookie login method.')
Expand Down
Loading

0 comments on commit 9ed37c8

Please sign in to comment.