mirror of
https://github.com/zhao-zg/jd-login.git
synced 2026-01-17 16:40:43 +08:00
Add files via upload
This commit is contained in:
parent
f88834b8ec
commit
cca1fb544b
3
login.py
3
login.py
@ -157,7 +157,8 @@ async def loginPhone(chromium_path, workList, uid, headless):
|
|||||||
|
|
||||||
workList[uid].status = "pending"
|
workList[uid].status = "pending"
|
||||||
workList[uid].msg = "正在过形状、颜色检测"
|
workList[uid].msg = "正在过形状、颜色检测"
|
||||||
await verification_shape(page)
|
if await verification_shape(page) == "notSupport":
|
||||||
|
return "notSupport"
|
||||||
await page.waitFor(2000)
|
await page.waitFor(2000)
|
||||||
continue
|
continue
|
||||||
elif await page.querySelector('.dialog'):
|
elif await page.querySelector('.dialog'):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user