From d3190e3424a24ba0e0ae4b75d9f0d4976038a66b Mon Sep 17 00:00:00 2001 From: bvwl <2201101122@qq.com> Date: Thu, 20 Nov 2025 23:57:42 +0800 Subject: [PATCH] 0.0.9 --- spider/main.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/spider/main.py b/spider/main.py index 1c054a0..d534675 100644 --- a/spider/main.py +++ b/spider/main.py @@ -79,6 +79,11 @@ class Auto: if bol: logger.debug("ip被ban秒") return False + bol = self.tab.ele('t:div@text():ERR_SSL_PROTOCOL_ERROR', timeout=1) + if bol: + logger.debug("刷新网页") + self.tab.refresh() + self.tab.wait(1.5) html = self.tab.url logger.debug(f"当前URL: {html}") if 'https://veritaconnect.ca/canadianbreadsettlement/en-us' == html: