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.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
---
# 配置文件请严格遵循yaml语法格式, yaml学习地址 https://ansible-tran.readthedocs.io/en/latest/docs/YAMLSyntax.html
set :
# 出发日期(list), 格式ex:
# - 2018-01-06
# - 2018-01-07
station_dates :
- "2018-09-28"
# 过滤车次(list), 格式ex:
# - "G1353"
# - "G1329"
station_trains :
- ""
# 出发城市,比如深圳北,就填深圳就搜得到
from_station : ""
# 到达城市 比如深圳北,就填深圳就搜得到
to_station : ""
# 座位(list) 多个座位ex:
# - "二等座"
# - "一等座"
set_type :
- ""
# 当余票小于乘车人,如果选择优先提交,则删减联系人和余票数一致在提交
is_more_ticket : False
# 乘车人(list) 多个乘车人ex:
# - "张三"
# - "李四"
ticke_peoples :
- ""
# 12306登录账号(list)
12306account :
- user : ""
- pwd : ""
# 加入小黑屋时间,此功能为了防止僵尸票导致一直下单不成功错过正常的票
ticket_black_list_time : 5
# 自动打码
is_auto_code : False
# 打码平台, 2 为若快平台(目前只支持若快平台打码,打码兔已经关闭), 若快注册地址: http://www.ruokuai.com/client/index?6726
auto_code_type : 2
# 打码平台账号
auto_code_account :
user : ""
pwd : ""
# 邮箱配置,如果抢票成功,将通过邮件配置通知给您
# 列举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"
email_conf :
is_email : True
email : ""
notice_email_list : ""
username : ""
password : ""
host : ""
# 是否开启cdn查询, 可以更快的检测票票 1为开启, 2为关闭
is_cdn : 2
# 下单接口分为两种, 1 为快速下单, 2 是普通下单
order_type : 2