mirror of
https://github.com/zhao-zg/jd-login.git
synced 2026-01-17 00:10:43 +08:00
Update login.py
This commit is contained in:
parent
35483ac911
commit
35ec780b19
2
login.py
2
login.py
@ -338,7 +338,7 @@ async def loginPassword(chromium_path, workList, uid, headless):
|
|||||||
print("即将重启浏览器重试")
|
print("即将重启浏览器重试")
|
||||||
await browser.close()
|
await browser.close()
|
||||||
return "notSupport"
|
return "notSupport"
|
||||||
await page.waitFor(3000)
|
await page.waitFor(3000)
|
||||||
if not sms_sent:
|
if not sms_sent:
|
||||||
|
|
||||||
if await page.J(".sub-title"):
|
if await page.J(".sub-title"):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user