add time delay for macau

master
CHUN YU YAO 2023-06-06 23:31:00 +08:00
parent 5be9de8faa
commit 5db66d12e5
1 changed files with 1 additions and 5 deletions

View File

@ -8535,11 +8535,7 @@ def hkticketing_main(driver, url, config_dict, hkticketing_dict):
pass pass
# 刷太快, 會被封IP? # 刷太快, 會被封IP?
delay_second = config_dict["advanced"]["auto_reload_page_interval"] time.sleep(config_dict["advanced"]["auto_reload_page_interval"])
galaxymacau_mini_interval = 3.0
if delay_second <= galaxymacau_mini_interval:
delay_second = galaxymacau_mini_interval
time.sleep(delay_second)
return hkticketing_dict return hkticketing_dict