Skip to content

Commit

Permalink
update version 1.1.110
Browse files Browse the repository at this point in the history
  • Loading branch information
testerSunshine committed Sep 10, 2019
1 parent ebe3c72 commit 7fa5787
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@
*.yaml
*.log
.idea/
*.h5
tkcode.png
Binary file added 12306.image.model.h5
Binary file not shown.
12 changes: 5 additions & 7 deletions TickerConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""

Expand Down Expand Up @@ -49,7 +49,7 @@

# 12306登录账号
USER = ""
PWD = ""
PWD = "QWERTY"

# 加入小黑屋时间默认为5分钟,此功能为了防止僵尸票导致一直下单不成功错过正常的票
TICKET_BLACK_LIST_TIME = 5
Expand Down Expand Up @@ -85,7 +85,6 @@
"secret": ""
}


# 是否开启cdn查询,可以更快的检测票票 1为开启,2为关闭
IS_CDN = 1

Expand All @@ -106,11 +105,10 @@

# 预售放票时间, 如果是捡漏模式,可以忽略此操作
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"

Expand All @@ -127,4 +125,4 @@
}

# 软件版本
RE_VERSION = "1.1.109"
RE_VERSION = "1.1.110"
Binary file added model.v2.0.h5
Binary file not shown.

0 comments on commit 7fa5787

Please sign in to comment.