You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12306/config/ticket_config.yaml

89 lines
2.4 KiB

7 years ago
---
#station_date:出发日期格式ex2018-01-06
#station_trains:过滤车次格式ex
# - "G1353"
# - "G1329"
# - "G1355"
# - "G1303"
# - "G1357"
# - "G1305"
# - "G1359"
# - "G1361"
# - "G1373"
# - "G1363"
7 years ago
#from_station: 始发站
#to_station: 到达站
#set_type: 坐席(商务座,二等座,特等座,软卧,硬卧,硬座,无座)
#is_more_ticket:余票不足是否自动提交
7 years ago
#select_refresh_interval:抢票刷新间隔时间1为一秒0.1为100毫秒以此类推 如果捡漏推荐为1秒刷票设置0.01
#expect_refresh_interval:售票未开始等待刷新间隔时间1为一秒0.1为100毫秒以此类推
7 years ago
#ticket_black_list:加入小黑屋的等待时间默认3 min
7 years ago
#enable_proxy:是否开启代理模式,代理速度比较慢,如果是抢票阶段,不建议开启
7 years ago
#ticke_peoples: 乘客
#damatu打码兔账号用于自动登录
#is_aotu_code是否自动打码如果选择Ture,则调用打码兔打码,默认不使用打码兔
#aotu_code_type 1为打码兔2为若快
#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"
7 years ago
set:
7 years ago
station_dates:
- "2018-06-21"
- "2018-06-22"
7 years ago
station_trains:
- "G1321"
7 years ago
from_station: "上海"
to_station: "长沙"
7 years ago
set_type:
- "二等座"
- "商务座"
- "一等座"
7 years ago
is_more_ticket: True
ticke_peoples:
7 years ago
- "文贤平"
# - "彭淑杰"
12306count:
# - uesr: ""
# - pwd: "apple1995"
- uesr: "931128603@qq.com"
7 years ago
- pwd: "QWERTY"
7 years ago
select_refresh_interval: 1
ticket_black_list_time: 5
is_aotu_code: False
aotu_code_type: 2
7 years ago
#enable_proxy: False
7 years ago
damatu:
7 years ago
uesr: ""
pwd: "qazWSX1995"
email_conf:
7 years ago
is_email: True
7 years ago
email: "@qq.com "
notice_email_list: "@qq.com"
7 years ago
username: ""
password: ""
host: "smtp.qq.com"
is_cdn: 2
7 years ago
7 years ago