From bccff2e61de07ad09f92ed847b69a9202c0af902 Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 18 May 2023 10:34:45 +0800 Subject: [PATCH] due to open-ended question, disable urbtix survey feature now --- chrome_tixcraft.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/chrome_tixcraft.py b/chrome_tixcraft.py index 322ce79..f5ca2c6 100644 --- a/chrome_tixcraft.py +++ b/chrome_tixcraft.py @@ -54,7 +54,7 @@ import itertools import ssl ssl._create_default_https_context = ssl._create_unverified_context -CONST_APP_VERSION = u"MaxBot (2023.05.16)" +CONST_APP_VERSION = u"MaxBot (2023.05.18)" CONST_MAXBOT_CONFIG_FILE = "settings.json" CONST_MAXBOT_LAST_URL_FILE = "MAXBOT_LAST_URL.txt" @@ -6788,7 +6788,7 @@ def get_urbtix_survey_answer_by_question(question_text): return question_answer_char, direction - +# PS: due to open-ended question, disable this feature now. def urbtix_auto_survey(driver, config_dict): show_debug_message = True # debug. show_debug_message = False # online @@ -6976,7 +6976,8 @@ def urbtix_main(driver, url, config_dict): # for new survey. if 'https://www.urbtix.hk/session/landing' == url: if config_dict["advanced"]["auto_guess_options"]: - urbtix_auto_survey(driver, config_dict) + #urbtix_auto_survey(driver, config_dict) + pass if '.hk/member-login' in url: urbtix_account = config_dict["advanced"]["urbtix_account"]