From a0af1cf2f748ecf479a403200200cae27540e547 Mon Sep 17 00:00:00 2001 From: WorldObservationLog Date: Sat, 22 Jul 2023 03:23:17 +0800 Subject: [PATCH] Fixed #2 --- main.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.py b/main.py index 7cd684a..2e0a221 100755 --- a/main.py +++ b/main.py @@ -563,6 +563,10 @@ def task(self, index, name, worker): data=data, proxies=proxy.get_random_proxy(self, name), ) + if r.text.find("INCORRECT_USERNAME_PASSWORD") != -1: + logger.warning("{} - Authorization failed! trying again in 10 seconds...", username) + time.sleep(10) + continue break except Exception: logger.error(