Update core logic, Telegram bot, browser automation, and email services.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user