Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

merge origin code #582

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
*.html
*.pyc
*.yaml
*.log
.idea/
51 changes: 0 additions & 51 deletions .idea/inspectionProfiles/Project_Default.xml

This file was deleted.

14 changes: 0 additions & 14 deletions .idea/workspace.xml

This file was deleted.

39 changes: 20 additions & 19 deletions config/ticket_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,17 @@ set:
# - 2018-01-06
# - 2018-01-07
station_dates:
- "2019-01-18"
- "2020-01-17"
- "2020-01-18"
- "2020-01-19"

# 是否根据时间范围 和 乘车类型 购票
# 否则将需要手动填写车次
is_by_time: False

# 列车类型: 高铁 G 动车 D 其它火车 O
train_types: [G,D,O]
# train_types: [G,D,O]
train_types: [O]

# 可接受最早出发时间 格式ex:
# departure_time: "8:00"
Expand All @@ -30,15 +33,13 @@ set:
# - "G1353"
# - "G1329"
station_trains:
- "G6153"
- "G6184"
- "G6173"
- "Z230"

# 出发城市,比如深圳北,就填深圳就搜得到
from_station: "邵阳"
from_station: "深圳"

# 到达城市 比如深圳北,就填深圳就搜得到
to_station: "深圳北"
to_station: "乌鲁木齐"

# 座位(list) 多个座位ex:
# - "商务座"
Expand All @@ -51,7 +52,7 @@ set:
# - "无座"
# - "动卧"
set_type:
- "二等座"
- "硬卧"

# 当余票小于乘车人,如果选择优先提交,则删减联系人和余票数一致在提交
is_more_ticket: False
Expand All @@ -60,12 +61,12 @@ set:
# - "张三"
# - "李四"
ticke_peoples:
- ""
- "范利楠"

# 12306登录账号(list)
12306account:
- user: "qqxin1011"
- pwd: ""
- user: "18503038114"
- pwd: "Fanfanbh.89757"

# 加入小黑屋时间默认为5分钟,此功能为了防止僵尸票导致一直下单不成功错过正常的票,
ticket_black_list_time: 5
Expand All @@ -78,8 +79,8 @@ auto_code_type: 2

# 打码平台账号
auto_code_account:
user: "931128603"
pwd: ""
user: "547878909"
pwd: "Fanfanbh.89757"

# 邮箱配置,如果抢票成功,将通过邮件配置通知给您
# 列举163
Expand All @@ -96,16 +97,16 @@ auto_code_account:
# host: "smtp.qq.com"
email_conf:
is_email: True
email: "931128603@qq.com "
notice_email_list: "931128603@qq.com"
username: "931128603"
password: ""
email: "547878909@qq.com "
notice_email_list: "547878909@qq.com"
username: "547878909"
password: "dqoejlnpspeibffg"
host: "smtp.qq.com"

# 是否开启 pushbear 微信提醒, 使用前需要前往 http://pushbear.ftqq.com 扫码绑定获取 send_key 并关注获得抢票结果通知的公众号
pushbear_conf:
is_pushbear: False
send_key: ""
is_pushbear: True
send_key: "9265-46915d80411be105bc2a04b57c6ad30e"

# 是否开启cdn查询,可以更快的检测票票 1为开启,2为关闭
is_cdn: 1
Expand Down
Binary file modified tkcode.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed uml/wx.jpeg
Binary file not shown.
Binary file removed uml/zfb.jpeg
Binary file not shown.