Add one-click start scripts for Linux and Windows
- start.sh: Linux/Mac one-click launcher - start.bat: Windows one-click launcher - Both scripts auto-detect/install: - Python 3.13+ - uv package manager - Chrome/Chromium browser - Sync Python dependencies - Create .env/config.json from templates if missing - Default to unlimited accounts (--count 0) - Pass through CLI args for custom runs
This commit is contained in:
1 parent
55f56d27c9
commit
c56d0d240a
6 files changed
+811
-143
No files matched your search
+15
-2
@@ -282,8 +282,21 @@ def register_one(
|
||||
break
|
||||
except Exception as exc:
|
||||
msg = str(exc)
|
||||
if ("未收到验证码" in msg or "验证码" in msg) and mail_try < max_mail_retry:
|
||||
log(worker_id, f"! 本邮箱未取到验证码,换邮箱重试: {msg}")
|
||||
# Retry whole email stage on: no OTP mail, submit never reached code page, CF/rate limit
|
||||
retryable = any(
|
||||
key in msg
|
||||
for key in (
|
||||
"未收到验证码",
|
||||
"验证码",
|
||||
"未进入验证码页",
|
||||
"邮箱提交被拒绝",
|
||||
"rate-limited",
|
||||
"rate_limited",
|
||||
"Turnstile",
|
||||
)
|
||||
)
|
||||
if retryable and mail_try < max_mail_retry:
|
||||
log(worker_id, f"! 邮箱阶段可重试,换邮箱/浏览器: {msg}")
|
||||
_mark_email_stage_error(email, msg)
|
||||
try:
|
||||
reg.restart_browser(log_callback=lambda m: log(worker_id, m))
|
||||
|
||||
Reference in new issue
Block a user