From 7f5d37aa874b809df60b6c7e6b929ceb4baf2baf Mon Sep 17 00:00:00 2001 From: CHUN YU YAO Date: Thu, 20 Oct 2022 13:09:32 +0800 Subject: [PATCH] change version name from 2022-10-19 to 2022-10-20 --- chrome_tixcraft.py | 7 ++++--- settings.py | 4 +++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/chrome_tixcraft.py b/chrome_tixcraft.py index bba2737..6e05990 100644 --- a/chrome_tixcraft.py +++ b/chrome_tixcraft.py @@ -7,8 +7,9 @@ import json import random #print("python version", platform.python_version()) -# seleniumwire not support python 2.x. -# if you want running under python 2.x, you need to assign driver_type = 'stealth' +# 'seleniumwire' and 'selenium 4' raise error when running python 2.x +# PS: python 2.x will be removed in future. + #driver_type = 'selenium' #driver_type = 'stealth' driver_type = 'undetected_chromedriver' @@ -66,7 +67,7 @@ ssl._create_default_https_context = ssl._create_unverified_context #附註1:沒有寫的很好,很多地方應該可以模組化。 #附註2: -CONST_APP_VERSION = u"MaxBot (2022.10.19)" +CONST_APP_VERSION = u"MaxBot (2022.10.20)" CONST_FROM_TOP_TO_BOTTOM = u"from top to bottom" CONST_FROM_BOTTOM_TO_TOP = u"from bottom to top" diff --git a/settings.py b/settings.py index 4392ed6..6897c22 100644 --- a/settings.py +++ b/settings.py @@ -1,5 +1,7 @@ #!/usr/bin/env python3 #encoding=utf-8 +# 'seleniumwire' and 'selenium 4' raise error when running python 2.x +# PS: python 2.x will be removed in future. try: # for Python2 @@ -17,7 +19,7 @@ import sys import platform import json -CONST_APP_VERSION = u"MaxBot (2022.10.19)" +CONST_APP_VERSION = u"MaxBot (2022.10.20)" CONST_FROM_TOP_TO_BOTTOM = u"from top to bottom" CONST_FROM_BOTTOM_TO_TOP = u"from bottom to top"