0.0.9
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user