Giter Club home page Giter Club logo

12306-booking's Introduction

12306-booking

12306订票工具

12306booking vs 12306 vs 第三方订票平台

为什么要写一个订票工具?

  1. 12306订票体验太差。验证码识别太逆天,人眼无法识别。刷新、刷新、刷新,刷到手疼。票就在那里,你就是定不上
  2. 第三方订票平台太流氓。收集用户数据,还收不可接受的手续费(美其名曰技术服务费,其实就是 CPU和 RAM),最恐怖的是还要将用户数据拿到市场交易

解决了什么问题,有什么优点?

  1. 两次扫码就完成了登录、查询余票、下单到支付的所有流程
  2. 本地运行,不收集任何用户数据,不用输入用户密码,不用担心任何数据泄露、交易行为
  3. 完全开源,没有任何黑箱操作
  4. 刷新、订票流程快,先人一步抢到票
  5. 支持多车次、多席别、多乘客抢票

使用说明

安装

pip install 12306-booking -U --user;

如果使用MacOS,使用虚拟环境安装virtualenv venv; source venv/bin/activate; pip install 12306-booking -U

订票

12306-booking --train-date 2020-01-01 --train-names K571 --seat-types 硬卧 --from-station 北京 --to-station 麻城 --pay-channel 微信 --passengers 任正非,王石

多车次、多席别、多乘客之间用英文的','分割

订票流程

订票流程

订票状态机

订票状态机

赞助

如果有帮助到你订到票,请扫描二维码赞赏我们,你的鼓励是我们持续改进优化的动力。

12306-booking's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.