mirror of
https://github.com/zhao-zg/jd-login.git
synced 2026-01-12 14:00:43 +08:00
Update login.py
This commit is contained in:
parent
cd7aa93653
commit
117bb54907
1
login.py
1
login.py
@ -165,7 +165,6 @@ async def loginPhone(chromium_path, workList, uid, headless):
|
|||||||
break
|
break
|
||||||
if False == sms_sent:
|
if False == sms_sent:
|
||||||
button = await page.querySelector('.getMsg-btn.text-btn.timer.active')
|
button = await page.querySelector('.getMsg-btn.text-btn.timer.active')
|
||||||
print(button.evaluate("textContent"))
|
|
||||||
if button and "获取验证码" not in button.evaluate("textContent"):
|
if button and "获取验证码" not in button.evaluate("textContent"):
|
||||||
print("进入直接发短信分支")
|
print("进入直接发短信分支")
|
||||||
if not workList[uid].isAuto:
|
if not workList[uid].isAuto:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user