2023-12-08, update for ticket-plus
parent
60a4b42233
commit
ca82e4cefc
|
@ -53,7 +53,7 @@ import webbrowser
|
||||||
|
|
||||||
import chromedriver_autoinstaller
|
import chromedriver_autoinstaller
|
||||||
|
|
||||||
CONST_APP_VERSION = "MaxBot (2023.12.07)"
|
CONST_APP_VERSION = "MaxBot (2023.12.08)"
|
||||||
|
|
||||||
CONST_MAXBOT_CONFIG_FILE = "settings.json"
|
CONST_MAXBOT_CONFIG_FILE = "settings.json"
|
||||||
CONST_MAXBOT_LAST_URL_FILE = "MAXBOT_LAST_URL.txt"
|
CONST_MAXBOT_LAST_URL_FILE = "MAXBOT_LAST_URL.txt"
|
||||||
|
@ -11062,6 +11062,13 @@ def ticketplus_order_expansion_auto_select(driver, config_dict, area_keyword_ite
|
||||||
my_css_selector = 'div.seats-area > div.v-expansion-panel[aria-expanded="false"]'
|
my_css_selector = 'div.seats-area > div.v-expansion-panel[aria-expanded="false"]'
|
||||||
area_list = driver.find_elements(By.CSS_SELECTOR, my_css_selector)
|
area_list = driver.find_elements(By.CSS_SELECTOR, my_css_selector)
|
||||||
is_click_on_folder = True
|
is_click_on_folder = True
|
||||||
|
|
||||||
|
if len(area_list)==1:
|
||||||
|
my_css_selector = 'div.seats-area > div.v-expansion-panel[aria-expanded="true"]'
|
||||||
|
area_list_parent = driver.find_elements(By.CSS_SELECTOR, my_css_selector)
|
||||||
|
if len(area_list_parent) > 0:
|
||||||
|
# change keyword to match all.
|
||||||
|
area_keyword_item = ""
|
||||||
|
|
||||||
except Exception as exc:
|
except Exception as exc:
|
||||||
if current_layout_style == 1:
|
if current_layout_style == 1:
|
||||||
|
|
|
@ -22,7 +22,7 @@ import sys
|
||||||
import threading
|
import threading
|
||||||
import webbrowser
|
import webbrowser
|
||||||
|
|
||||||
CONST_APP_VERSION = "MaxBot (2023.12.06)"
|
CONST_APP_VERSION = "MaxBot (2023.12.08)"
|
||||||
|
|
||||||
CONST_MAXBOT_LAUNCHER_FILE = "config_launcher.json"
|
CONST_MAXBOT_LAUNCHER_FILE = "config_launcher.json"
|
||||||
CONST_MAXBOT_CONFIG_FILE = "settings.json"
|
CONST_MAXBOT_CONFIG_FILE = "settings.json"
|
||||||
|
|
|
@ -34,7 +34,7 @@ import ssl
|
||||||
|
|
||||||
ssl._create_default_https_context = ssl._create_unverified_context
|
ssl._create_default_https_context = ssl._create_unverified_context
|
||||||
|
|
||||||
CONST_APP_VERSION = "MaxBot (2023.12.07)"
|
CONST_APP_VERSION = "MaxBot (2023.12.08)"
|
||||||
|
|
||||||
CONST_MAXBOT_CONFIG_FILE = "settings.json"
|
CONST_MAXBOT_CONFIG_FILE = "settings.json"
|
||||||
CONST_MAXBOT_LAST_URL_FILE = "MAXBOT_LAST_URL.txt"
|
CONST_MAXBOT_LAST_URL_FILE = "MAXBOT_LAST_URL.txt"
|
||||||
|
|
|
@ -27,7 +27,7 @@ import pyperclip
|
||||||
import tornado
|
import tornado
|
||||||
from tornado.web import Application
|
from tornado.web import Application
|
||||||
|
|
||||||
CONST_APP_VERSION = "MaxBot (2023.12.06)"
|
CONST_APP_VERSION = "MaxBot (2023.12.08)"
|
||||||
|
|
||||||
CONST_MAXBOT_QUESTION_FILE = "MAXBOT_QUESTION.txt"
|
CONST_MAXBOT_QUESTION_FILE = "MAXBOT_QUESTION.txt"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue