From 66060bdebd37fef0b4c419dd306d4c55b73d6a9d Mon Sep 17 00:00:00 2001 From: CHUN YU YAO Date: Sat, 18 Feb 2023 23:14:16 +0800 Subject: [PATCH] add new condiftion for area sold_out on kham ticket --- chrome_tixcraft.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chrome_tixcraft.py b/chrome_tixcraft.py index 99607e6..fd5f22c 100644 --- a/chrome_tixcraft.py +++ b/chrome_tixcraft.py @@ -7042,6 +7042,8 @@ def kham_area_auto_select(driver, area_auto_select_mode, area_keyword_1, area_ke else: # text directly allow. row_is_enabled=True + if '售完' in remaining_value: + row_is_enabled=False except Exception as exc: pass