change version name from 2022-10-19 to 2022-10-20
parent
3e520fa4bf
commit
7f5d37aa87
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue