Spaces:
Running
Running
nacho commited on
Commit ·
caaf954
1
Parent(s): 12a0282
fix: 延长账号登录时输入框的超时等待时间至 30s,防止因 Cloudflare 人机验证太慢导致登录失败
Browse files- deepseek_browser.py +1 -1
deepseek_browser.py
CHANGED
|
@@ -115,7 +115,7 @@ class DeepSeekBrowser:
|
|
| 115 |
|
| 116 |
try:
|
| 117 |
email_input = self.page.locator('input[placeholder*="邮箱"], input[placeholder*="手机"], input[placeholder*="Email"], input[placeholder*="email"], input[type="text"]').first
|
| 118 |
-
await email_input.wait_for(state="visible", timeout=
|
| 119 |
await email_input.fill(self.email)
|
| 120 |
await asyncio.sleep(0.5)
|
| 121 |
except Exception as e:
|
|
|
|
| 115 |
|
| 116 |
try:
|
| 117 |
email_input = self.page.locator('input[placeholder*="邮箱"], input[placeholder*="手机"], input[placeholder*="Email"], input[placeholder*="email"], input[type="text"]').first
|
| 118 |
+
await email_input.wait_for(state="visible", timeout=30000)
|
| 119 |
await email_input.fill(self.email)
|
| 120 |
await asyncio.sleep(0.5)
|
| 121 |
except Exception as e:
|