Skip to content
This repository has been archived by the owner on Jul 25, 2023. It is now read-only.

Commit

Permalink
Fixed #2
Browse files Browse the repository at this point in the history
  • Loading branch information
WorldObservationLog committed Jul 21, 2023
1 parent fcdb0bf commit a0af1cf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit a0af1cf

Please sign in to comment.