add: requirements.txt

This commit is contained in:
2025-04-24 09:05:01 +02:00
parent 22857040a8
commit 2af1640f31
2 changed files with 4 additions and 0 deletions

View File

@@ -51,6 +51,10 @@ def main():
print('[信息] 正在载入网页')
driver.get('https://id.ionos.fr/identifier')
except TimeoutException:
# 停止加载
print(f'[警告] 操作超时')
driver.execute_script("window.stop();")
except Exception as e:
print(f'[!!!!] 初始化时发生了错误:{e}')
return 2