Update core logic, Telegram bot, browser automation, and email services.

This commit is contained in:
2026-01-18 05:57:52 +08:00
parent 7e92e12c79
commit 83a9e38aa7
4 changed files with 60 additions and 4 deletions

View File

@@ -359,7 +359,7 @@ def init_browser(max_retries: int = BROWSER_MAX_RETRIES) -> ChromiumPage:
fingerprint = None
if BROWSER_RANDOM_FINGERPRINT:
fingerprint = get_random_fingerprint()
log.step(f"随机指纹: {fingerprint['webgl_renderer'][:40]}...")
log.info(f"指纹: {fingerprint['webgl_renderer'][:45]}... | {fingerprint['screen']['width']}x{fingerprint['screen']['height']}", icon="config")
else:
# 使用默认指纹
fingerprint = {
@@ -369,7 +369,7 @@ def init_browser(max_retries: int = BROWSER_MAX_RETRIES) -> ChromiumPage:
"webgl_renderer": "ANGLE (NVIDIA, NVIDIA GeForce RTX 3060 Direct3D11 vs_5_0 ps_5_0)",
"screen": {"width": 1920, "height": 1080}
}
log.step("使用默认指纹")
log.info("指纹: 默认 (RTX 3060, 1920x1080)", icon="config")
last_error = None
is_linux = platform.system() == "Linux"