diff --git a/.gitignore b/.gitignore index 467b159f..3d01bc30 100755 --- a/.gitignore +++ b/.gitignore @@ -3,5 +3,4 @@ *.yaml *.log .idea/ -*.h5 tkcode.png \ No newline at end of file diff --git a/12306.image.model.h5 b/12306.image.model.h5 new file mode 100644 index 00000000..870516f2 Binary files /dev/null and b/12306.image.model.h5 differ diff --git a/TickerConfig.py b/TickerConfig.py index 15618160..e49c75e1 100644 --- a/TickerConfig.py +++ b/TickerConfig.py @@ -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 @@ # 12306登录账号 USER = "" -PWD = "" +PWD = "QWERTY" # 加入小黑屋时间默认为5分钟,此功能为了防止僵尸票导致一直下单不成功错过正常的票 TICKET_BLACK_LIST_TIME = 5 @@ -85,7 +85,6 @@ "secret": "" } - # 是否开启cdn查询,可以更快的检测票票 1为开启,2为关闭 IS_CDN = 1 @@ -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" @@ -127,4 +125,4 @@ } # 软件版本 -RE_VERSION = "1.1.109" +RE_VERSION = "1.1.110" diff --git a/model.v2.0.h5 b/model.v2.0.h5 new file mode 100644 index 00000000..25611fe1 Binary files /dev/null and b/model.v2.0.h5 differ