mirror of https://github.com/testerSunshine/12306
update version 1.1.110
parent
ebe3c721c1
commit
7fa578762b
|
@ -3,5 +3,4 @@
|
|||
*.yaml
|
||||
*.log
|
||||
.idea/
|
||||
*.h5
|
||||
tkcode.png
|
Binary file not shown.
|
@ -6,16 +6,16 @@
|
|||
# 刷票模式:1=刷票 2=候补+刷票
|
||||
TICKET_TYPE = 2
|
||||
|
||||
|
||||
# 出发日期(list) "2018-01-06", "2018-01-07"
|
||||
STATION_DATES = [
|
||||
"2019-09-20"
|
||||
"2019-10-01"
|
||||
]
|
||||
|
||||
# 填入需要购买的车次(list),"G1353"
|
||||
STATION_TRAINS = [
|
||||
"",
|
||||
]
|
||||
|
||||
# 出发城市,比如深圳北,就填深圳就搜得到
|
||||
FROM_STATION = ""
|
||||
|
||||
|
@ -49,7 +49,7 @@ TICKET_PEOPLES = [
|
|||
|
||||
# 12306登录账号
|
||||
USER = ""
|
||||
PWD = ""
|
||||
PWD = "QWERTY"
|
||||
|
||||
# 加入小黑屋时间默认为5分钟,此功能为了防止僵尸票导致一直下单不成功错过正常的票
|
||||
TICKET_BLACK_LIST_TIME = 5
|
||||
|
@ -85,7 +85,6 @@ SERVER_CHAN_CONF = {
|
|||
"secret": ""
|
||||
}
|
||||
|
||||
|
||||
# 是否开启cdn查询,可以更快的检测票票 1为开启,2为关闭
|
||||
IS_CDN = 1
|
||||
|
||||
|
@ -106,11 +105,10 @@ IS_PROXY = 0
|
|||
|
||||
# 预售放票时间, 如果是捡漏模式,可以忽略此操作
|
||||
OPEN_TIME = "13:00:00"
|
||||
|
||||
# 1=使用selenium获取devicesID
|
||||
# 2=使用网页端/otn/HttpZF/logdevice获取devicesId,这个接口的算法目前可能有点问题,如果登录一直302的请改为配置1
|
||||
COOKIE_TYPE = 1
|
||||
# 如果COOKIE_TYPE=2,则需配置chromeDriver路径,下载地址http://chromedriver.storage.googleapis.com/index.html
|
||||
# 如果COOKIE_TYPE=1,则需配置chromeDriver路径,下载地址http://chromedriver.storage.googleapis.com/index.html
|
||||
# chromedriver配置版本只要和chrome的大版本匹配就行
|
||||
CHROME_PATH = "/Users/wenxianping/Downloads/chromedriver"
|
||||
|
||||
|
@ -127,4 +125,4 @@ PASSENGER_TICKER_STR = {
|
|||
}
|
||||
|
||||
# 软件版本
|
||||
RE_VERSION = "1.1.109"
|
||||
RE_VERSION = "1.1.110"
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue