qwiklabs_getaccount: click captcha, just in case

Just clicking it should be ok
master
EmaMaker 2021-08-29 21:33:43 +02:00
parent ca74634352
commit 8805556886
1 changed files with 8 additions and 5 deletions

View File

@ -125,10 +125,10 @@ if __name__ == "__main__":
pyautogui.click()
# Accept captcha - sometimes they don't even ask for actual verification
# time.sleep(5)
# print("Accepting captcha (not needed really)")
# pyautogui.moveTo(ui.qwiklabs_gui.CAPTCHA_BTN[0], ui.qwiklabs_gui.CAPTCHA_BTN[1], 3, pyautogui.easeOutQuad)
# pyautogui.click()
time.sleep(5)
print("Accepting captcha (not needed really)")
pyautogui.moveTo(ui.qwiklabs_gui.CAPTCHA_BTN[0], ui.qwiklabs_gui.CAPTCHA_BTN[1], 3, pyautogui.easeOutQuad)
pyautogui.click()
bashCommand = "copyq clipboard"
@ -186,11 +186,14 @@ def get_google_account():
return get_google_account()
else:
ql_list.mark_account_for_deletition(account)
else:
res = res.split(' ')
print("[QL_GetGAccount] {}".format(res))
return res
else:
print("[QL_GetAccount] Using Test Account" )
print("[QL_GetAccount] Using Test Account {}".format(global_vars.TEST_ACCOUNT) )
return global_vars.TEST_ACCOUNT