mirror of
https://github.com/zhao-zg/jd-login.git
synced 2026-01-15 15:30:43 +08:00
Add files via upload
This commit is contained in:
parent
d2085e9213
commit
e33c4df621
4
login.py
4
login.py
@ -332,9 +332,9 @@ async def loginPassword(chromium_path, workList, uid, headless):
|
|||||||
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"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user