From 554c6a6e68eeeaf7ea9d09cf34f41e0b403c69f6 Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 29 Nov 2023 12:31:14 +0800 Subject: [PATCH] Update tixcraft when is_coming_soon and auto reload coming soon page, to exit loop. --- chrome_tixcraft.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/chrome_tixcraft.py b/chrome_tixcraft.py index 10419f2..79d6ad4 100644 --- a/chrome_tixcraft.py +++ b/chrome_tixcraft.py @@ -1890,7 +1890,10 @@ def tixcraft_date_auto_select(driver, url, config_dict, domain_name): if show_debug_message: print("match coming soon condiction at row:", row_text) is_coming_soon = True - break + + if is_coming_soon: + if auto_reload_coming_soon_page_enable: + break row_is_enabled=False for text_item in find_ticket_text_list: