forked from testerSunshine/12306
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
5 changed files
with
32 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ set: | |
# - 2018-01-06 | ||
# - 2018-01-07 | ||
station_dates: | ||
- "2019-01-11" | ||
- "2019-02-02" | ||
|
||
# 是否根据时间范围 和 乘车类型 购票 | ||
# 否则将需要手动填写车次 | ||
|
@@ -45,15 +45,18 @@ set: | |
# - "G1021" | ||
# - "G99" | ||
# - "G6011" | ||
- "D2972" | ||
- "D1874" | ||
- "D2834" | ||
# - "D2972" | ||
# - "D1874" | ||
# - "D2834" | ||
- "G6172" | ||
- "G6186" | ||
- "G6154" | ||
|
||
# 出发城市,比如深圳北,就填深圳就搜得到 | ||
from_station: "广州南" | ||
|
||
# 到达城市 比如深圳北,就填深圳就搜得到 | ||
to_station: "三江南" | ||
to_station: "邵阳" | ||
|
||
# 座位(list) 多个座位ex: | ||
# - "二等座" | ||
|
@@ -68,8 +71,9 @@ set: | |
# - "张三" | ||
# - "李四" | ||
ticke_peoples: | ||
# - "文贤平" | ||
- "梁敏" | ||
- "文贤平" | ||
- "李梦云" | ||
# - "梁敏" | ||
# 12306登录账号(list) | ||
12306account: | ||
- user: "[email protected]" | ||
|
@@ -79,7 +83,7 @@ set: | |
ticket_black_list_time: 5 | ||
|
||
# 自动打码 | ||
is_auto_code: True | ||
is_auto_code: False | ||
|
||
# 打码平台, 2 为若快平台(目前只支持若快平台打码,打码兔已经关闭), 若快注册地址:http://www.ruokuai.com/client/index?6726 | ||
auto_code_type: 2 | ||
|
@@ -114,14 +118,14 @@ email_conf: | |
is_cdn: 1 | ||
|
||
# 下单接口分为两种,1 为快速下单,2 是普通下单 | ||
order_type: 1 | ||
order_type: 2 | ||
|
||
# 下单模式 1 为预售,整点刷新,刷新间隔0.1-0.5S, 然后会校验时间,比如12点的预售,那脚本就会在12.00整检票,刷新订单 | ||
# 2 是捡漏,捡漏的刷新间隔时间为0.5-3秒,时间间隔长,不容易封ip | ||
order_model: 2 | ||
|
||
# 预售放票时间, 如果是捡漏模式,可以忽略此操作 | ||
open_time: '20:15:00' | ||
open_time: '13:00:00' | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,6 +48,7 @@ def getPassengerTicketStr(self, set_type): | |
'商务座': 9, | ||
'硬座': 1, | ||
'无座': 1, | ||
'软座': 2, | ||
'软卧': 4, | ||
'硬卧': 3, | ||
} | ||
|