Add files via upload

This commit is contained in:
zhao-zg 2024-07-31 10:44:36 +08:00 committed by GitHub
parent d2085e9213
commit e33c4df621
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -331,10 +331,10 @@ async def loginPassword(chromium_path, workList, uid, headless):
await page.waitFor(3000) await page.waitFor(3000)
elif await page.xpath('//*[@id="captcha_modal"]/div/div[3]/button'): elif await page.xpath('//*[@id="captcha_modal"]/div/div[3]/button'):
print("进入点形状、颜色验证分支") print("进入点形状、颜色验证分支")
workList[uid].status = "pending" workList[uid].status = "pending"
workList[uid].msg = "正在过形状、颜色检测" workList[uid].msg = "正在过形状、颜色检测"
if await verification_shape(page) == "notSupport": if await verification_shape(page) == "notSupport":
print("即将重启浏览器重试") print("即将重启浏览器重试")
await browser.close() await browser.close()
return "notSupport" return "notSupport"