12306/config/ticket_config.yaml

95 lines
2.6 KiB
YAML
Raw Normal View History

2018-01-07 01:54:36 +00:00
---
#station_date:出发日期格式ex2018-01-06
2018-01-07 04:36:44 +00:00
#station_trains:过滤车次格式ex
# - "G1353"
# - "G1329"
# - "G1355"
# - "G1303"
# - "G1357"
# - "G1305"
# - "G1359"
# - "G1361"
# - "G1373"
# - "G1363"
2018-01-07 01:54:36 +00:00
#from_station: 始发站
#to_station: 到达站
#set_type: 坐席(商务座,二等座,特等座,软卧,硬卧,硬座,无座)
#is_more_ticket:余票不足是否自动提交
2018-01-10 05:36:50 +00:00
#select_refresh_interval:抢票刷新间隔时间1为一秒0.1为100毫秒以此类推 如果捡漏推荐为1秒刷票设置0.01
#expect_refresh_interval:售票未开始等待刷新间隔时间1为一秒0.1为100毫秒以此类推
2018-01-08 14:09:33 +00:00
#ticket_black_list:加入小黑屋的等待时间默认3 min
2018-01-10 05:36:50 +00:00
#enable_proxy:是否开启代理模式,代理速度比较慢,如果是抢票阶段,不建议开启
2018-01-07 01:54:36 +00:00
#ticke_peoples: 乘客
#damatu打码兔账号用于自动登录
#is_aotu_code是否自动打码如果选择Ture,则调用打码兔打码,默认不使用打码兔
#aotu_code_type 1为打码兔2为若快
2018-01-14 07:27:07 +00:00
#is_email: 是否需要邮件通知 ex: True or False 切记邮箱加完一定到config目录下测试emailConf功能是否正常
#邮箱配置 列举163
# email: "xxx@163.com"
# notice_email_list: "123@qq.com"
# username: "xxxxx"
# password: "xxxxx
# host: "smtp.163.com"
#邮箱配置 列举qq qq设置比较复杂需要在邮箱--账户--开启smtp服务取得授权码==邮箱登录密码
# email: "xxx@qq.com"
# notice_email_list: "123@qq.com"
# username: "xxxxx"
# password: "授权码"
# host: "smtp.qq.com"
2018-01-07 01:54:36 +00:00
set:
2018-01-21 12:35:56 +00:00
station_dates:
- "2018-01-27"
# - "2018-01-28"
# - "2018-02-10"
# - "2018-02-09"
2018-01-07 04:36:44 +00:00
station_trains:
- "G2365"
2018-01-14 09:34:59 +00:00
# - "K4300"
# - "K5226"
# - "K7772"
# - "G1329"
2018-01-11 09:26:54 +00:00
# - "G1359"
# - "G1361"
# - "G1373"
# - "G1363"
# - "G4933"
2018-01-21 12:35:56 +00:00
from_station: "上海"
to_station: "邵阳"
2018-01-07 01:54:36 +00:00
set_type:
2018-01-14 07:27:07 +00:00
- "二等座"
2018-01-10 05:36:50 +00:00
is_more_ticket: True
ticke_peoples:
2018-01-21 12:35:56 +00:00
- "文贤平"
# - "彭淑杰"
12306count:
2018-01-12 06:42:30 +00:00
# - uesr: ""
# - pwd: "apple1995"
2018-01-21 12:35:56 +00:00
- uesr: "@qq.com"
- pwd: "QWERTY"
2018-01-07 01:54:36 +00:00
2018-01-11 09:26:54 +00:00
select_refresh_interval: 0.1
expect_refresh_interval: 0.3
ticket_black_list_time: 3
is_aotu_code: False
aotu_code_type: 2
2018-01-10 05:36:50 +00:00
#enable_proxy: False
2018-01-07 01:54:36 +00:00
damatu:
2018-01-14 09:35:42 +00:00
uesr: ""
pwd: "qazWSX1995"
email_conf:
2018-01-14 09:34:59 +00:00
is_email: False
2018-01-14 07:27:07 +00:00
email: "@qq.com "
notice_email_list: "@qq.com"
username: ""
password: "xwopwxbkupbqbfgb"
host: "smtp.qq.com"
2018-01-07 01:54:36 +00:00