delay to avoid ip block

master
CHUN YU YAO 2023-01-12 01:41:53 +08:00
parent 20f2deba04
commit 48d25bb69e
1 changed files with 1 additions and 1 deletions

View File

@ -4969,7 +4969,7 @@ def urbtix_main(driver, url, config_dict):
for waiting_url in waiting_for_access_url:
if waiting_url in url:
# delay to avoid ip block.
#time.sleep(0.5)
time.sleep(1.0)
try:
driver.get('https://www.urbtix.hk/')
except Exception as exec1: