Navigation Menu

Skip to content

Commit

Permalink
2023-01-05, reduce cityline 10 seconds waiting.
Browse files Browse the repository at this point in the history
  • Loading branch information
hahamic committed Jan 5, 2023
1 parent aea3592 commit dbf9cb9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion chrome_tixcraft.py
Expand Up @@ -40,7 +40,7 @@
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"

Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion settings.py
Expand Up @@ -19,7 +19,7 @@
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"
Expand Down

0 comments on commit dbf9cb9

Please sign in to comment.