add: requirements.txt
This commit is contained in:
BIN
requirements.txt
Normal file
BIN
requirements.txt
Normal file
Binary file not shown.
@@ -51,6 +51,10 @@ def main():
|
|||||||
|
|
||||||
print('[信息] 正在载入网页')
|
print('[信息] 正在载入网页')
|
||||||
driver.get('https://id.ionos.fr/identifier')
|
driver.get('https://id.ionos.fr/identifier')
|
||||||
|
except TimeoutException:
|
||||||
|
# 停止加载
|
||||||
|
print(f'[警告] 操作超时')
|
||||||
|
driver.execute_script("window.stop();")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(f'[!!!!] 初始化时发生了错误:{e}')
|
print(f'[!!!!] 初始化时发生了错误:{e}')
|
||||||
return 2
|
return 2
|
||||||
|
|||||||
Reference in New Issue
Block a user