From 48d25bb69ea8b7d3ccacfc7e9b0b959b4347cdf1 Mon Sep 17 00:00:00 2001 From: CHUN YU YAO Date: Thu, 12 Jan 2023 01:41:53 +0800 Subject: [PATCH] delay to avoid ip block --- chrome_tixcraft.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome_tixcraft.py b/chrome_tixcraft.py index dae9099..f7b4735 100644 --- a/chrome_tixcraft.py +++ b/chrome_tixcraft.py @@ -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: