Update login.py

This commit is contained in:
zhao-zg 2025-03-29 17:39:45 +08:00 committed by GitHub
parent 2f1ee13ac2
commit 9334bb6af9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -794,7 +794,7 @@ async def verification(page):
el = await page.querySelector( el = await page.querySelector(
"#captcha_modal > div > div.captcha_footer > div > div.sp-msg" "#captcha_modal > div > div.captcha_footer > div > div.sp-msg"
) )
if not el if not el:
el = await page.querySelector( el = await page.querySelector(
"#captcha_modal > div > div.captcha_footer > div > img" "#captcha_modal > div > div.captcha_footer > div > img"
) )