add new const galaxymacau_mini_interval

master
CHUN YU YAO 2023-06-06 23:19:56 +08:00
parent a30b71993c
commit 5be9de8faa
1 changed files with 3 additions and 2 deletions

View File

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