From 9bcaac7a68f08f2af464d85e1fb883a33cad28fd Mon Sep 17 00:00:00 2001 From: CHUN YU YAO Date: Thu, 15 Sep 2022 21:40:58 +0800 Subject: [PATCH] ver 2022-09-15, only change version code --- chrome_tixcraft.py | 5 ++--- settings.py | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/chrome_tixcraft.py b/chrome_tixcraft.py index 1bae8cb..93f4adf 100644 --- a/chrome_tixcraft.py +++ b/chrome_tixcraft.py @@ -63,7 +63,7 @@ ssl._create_default_https_context = ssl._create_unverified_context #附註1:沒有寫的很好,很多地方應該可以模組化。 #附註2: -CONST_APP_VERSION = u"MaxBot (2022.09.14)" +CONST_APP_VERSION = u"MaxBot (2022.09.15)" CONST_FROM_TOP_TO_BOTTOM = u"from top to bottom" CONST_FROM_BOTTOM_TO_TOP = u"from bottom to top" @@ -450,8 +450,7 @@ def load_config_from_local(driver): else: print("Oops! web driver not on path:",chromedriver_path ) print('let uc automatically download chromedriver.') - #driver = uc.Chrome(options=options, suppress_welcome=False) - driver = uc.Chrome(options=options) + driver = uc.Chrome(options=options, suppress_welcome=False) if driver is None: print("create web drive object fail!") diff --git a/settings.py b/settings.py index c94469b..391889d 100644 --- a/settings.py +++ b/settings.py @@ -17,7 +17,7 @@ import sys import platform import json -CONST_APP_VERSION = u"MaxBot (2022.09.14)" +CONST_APP_VERSION = u"MaxBot (2022.09.15)" CONST_FROM_TOP_TO_BOTTOM = u"from top to bottom" CONST_FROM_BOTTOM_TO_TOP = u"from bottom to top"