From 65a6caa98f17c27f5a8d3aa5b5ce2580ba9156e4 Mon Sep 17 00:00:00 2001 From: CHUN YU YAO Date: Fri, 27 Jan 2023 17:05:46 +0800 Subject: [PATCH] 2023-01-26, no delay for hkticketing. --- chrome_tixcraft.py | 9 ++++++++- settings.py | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/chrome_tixcraft.py b/chrome_tixcraft.py index fa28078..e60afda 100644 --- a/chrome_tixcraft.py +++ b/chrome_tixcraft.py @@ -51,7 +51,7 @@ except Exception as exc: import ssl ssl._create_default_https_context = ssl._create_unverified_context -CONST_APP_VERSION = u"MaxBot (2023.01.23)" +CONST_APP_VERSION = u"MaxBot (2023.01.26)" CONST_HOMEPAGE_DEFAULT = "https://tixcraft.com" @@ -6090,6 +6090,13 @@ def hkticketing_main(driver, url, config_dict): hkticketing_home(driver) break + if 'queue.hkticketing.com/hotshow.html' in url: + entry_url = 'http://entry-hotshow.hkticketing.com/' + try: + driver.get(entry_url) + except Exception as exc: + pass + #https://premier.hkticketing.com/shows/show.aspx?sh=XXXX if 'shows/show.aspx?' in url: is_event_page = False diff --git a/settings.py b/settings.py index 77f3ee1..49b3161 100644 --- a/settings.py +++ b/settings.py @@ -19,7 +19,7 @@ import json import webbrowser import pyperclip -CONST_APP_VERSION = u"MaxBot (2023.01.23)" +CONST_APP_VERSION = u"MaxBot (2023.01.26)" CONST_FROM_TOP_TO_BOTTOM = u"from top to bottom" CONST_FROM_BOTTOM_TO_TOP = u"from bottom to top"