19
GitHub - V-I-C-T-O-R/12306: 希望大家都能顺利回家!!!
source link: https://github.com/V-I-C-T-O-R/12306
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
ReadMe.md
12306
鉴于市场上的大多数抢票软件的安全问题和效率问题,就手动修改了开源的代码来为自己赢得捡漏的机会,谁叫本电脑是linux系统呢。缩减刷新的频率也是一种策略,哈哈!!!Usage
- 在configure.py中配置信息:
- 身份信息
- 车票信息
- 订票策略
- 邮件配置
- 短信配置
Notice
需要额外安装的第三方库:
- requests
- Pillow
- PrettyTable
- colorama
- twilio
新功能
- 新增自动url变更请求
- 手动输入/自动识别验证码调用(调用免费接口)
- 抢票成功邮件发送
- 抢票成功短信发送twilio
- 内部流程优化,新增港铁西九龙站
- 23点-6点定时睡觉
你可以做啥
- 要改成多线程多进程随你咯
- 添加代理池随你咯
- 添加多账户支持随你咯
- 方便个人,不为盈利
- oh! 对了,现在是2019年了,加油!
- 借鉴了EasyTrain库的代码
- 优化当前代码和流程
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK