mirror of
https://github.com/zhao-zg/jd-login.git
synced 2026-01-12 14:00:43 +08:00
Add files via upload
This commit is contained in:
parent
d2085e9213
commit
e33c4df621
6
login.py
6
login.py
@ -331,10 +331,10 @@ async def loginPassword(chromium_path, workList, uid, headless):
|
||||
await page.waitFor(3000)
|
||||
elif await page.xpath('//*[@id="captcha_modal"]/div/div[3]/button'):
|
||||
print("进入点形状、颜色验证分支")
|
||||
|
||||
workList[uid].status = "pending"
|
||||
|
||||
workList[uid].status = "pending"
|
||||
workList[uid].msg = "正在过形状、颜色检测"
|
||||
if await verification_shape(page) == "notSupport":
|
||||
if await verification_shape(page) == "notSupport":
|
||||
print("即将重启浏览器重试")
|
||||
await browser.close()
|
||||
return "notSupport"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user