2023-01-05, reduce cityline 10 seconds waiting.
parent
aea3592e92
commit
dbf9cb906f
|
@ -40,7 +40,7 @@ warnings.simplefilter('ignore',InsecureRequestWarning)
|
|||
import ssl
|
||||
ssl._create_default_https_context = ssl._create_unverified_context
|
||||
|
||||
CONST_APP_VERSION = u"MaxBot (2023.01.04)"
|
||||
CONST_APP_VERSION = u"MaxBot (2023.01.05)"
|
||||
|
||||
CONST_HOMEPAGE_DEFAULT = "https://tixcraft.com"
|
||||
|
||||
|
@ -4891,6 +4891,14 @@ def cityline_main(driver, url, config_dict):
|
|||
if '/Login.html' in url:
|
||||
return
|
||||
|
||||
# https://msg.cityline.com/
|
||||
if 'msg.cityline.com' in url:
|
||||
try:
|
||||
driver.execute_script("goEvent();")
|
||||
except Exception as exec1:
|
||||
pass
|
||||
pass
|
||||
|
||||
try:
|
||||
window_handles_count = len(driver.window_handles)
|
||||
if window_handles_count > 1:
|
||||
|
|
|
@ -19,7 +19,7 @@ import json
|
|||
import webbrowser
|
||||
import pyperclip
|
||||
|
||||
CONST_APP_VERSION = u"MaxBot (2023.01.04)"
|
||||
CONST_APP_VERSION = u"MaxBot (2023.01.05)"
|
||||
|
||||
CONST_FROM_TOP_TO_BOTTOM = u"from top to bottom"
|
||||
CONST_FROM_BOTTOM_TO_TOP = u"from bottom to top"
|
||||
|
|
Loading…
Reference in New Issue