fix: Improve Turnstile verification handling with default success case

This commit is contained in:
cheng zhen
2025-02-05 20:53:59 +08:00
parent ce3a049d14
commit 622e65ebcf

View File

@@ -137,7 +137,9 @@ def handle_turnstile(tab, max_wait_time=60, retry_attempts=3):
except Exception as e:
logging.debug(f"处理验证时发生异常: {str(e)}")
continue
else:
logging.info("未检测到Turnstile验证")
return True
time.sleep(1)
except Exception as e: