This commit is contained in:
2025-11-20 23:57:42 +08:00
parent 368fe0dcfc
commit d3190e3424

View File

@@ -79,6 +79,11 @@ class Auto:
if bol: if bol:
logger.debug("ip被ban秒") logger.debug("ip被ban秒")
return False 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 html = self.tab.url
logger.debug(f"当前URL: {html}") logger.debug(f"当前URL: {html}")
if 'https://veritaconnect.ca/canadianbreadsettlement/en-us' == html: if 'https://veritaconnect.ca/canadianbreadsettlement/en-us' == html: