2023-01-26, no delay for hkticketing.

master
CHUN YU YAO 2023-01-27 17:05:46 +08:00
parent 5d3ef0acbf
commit 65a6caa98f
2 changed files with 9 additions and 2 deletions

View File

@ -51,7 +51,7 @@ except Exception as exc:
import ssl import ssl
ssl._create_default_https_context = ssl._create_unverified_context 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" CONST_HOMEPAGE_DEFAULT = "https://tixcraft.com"
@ -6090,6 +6090,13 @@ def hkticketing_main(driver, url, config_dict):
hkticketing_home(driver) hkticketing_home(driver)
break 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 #https://premier.hkticketing.com/shows/show.aspx?sh=XXXX
if 'shows/show.aspx?' in url: if 'shows/show.aspx?' in url:
is_event_page = False is_event_page = False

View File

@ -19,7 +19,7 @@ import json
import webbrowser import webbrowser
import pyperclip 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_TOP_TO_BOTTOM = u"from top to bottom"
CONST_FROM_BOTTOM_TO_TOP = u"from bottom to top" CONST_FROM_BOTTOM_TO_TOP = u"from bottom to top"