Coder Social home page Coder Social logo

fk12306's Introduction

fk12306

12306查票助手,一键查询沿途所有站点,先上车后补票,暂不支持抢票

fk的意思是Find and checK,也就是F*** *** ****K,缩写为fk

仅支持Python3,推荐Python3.5+

安装

pip安装(推荐):

pip3 install fk12306

手动安装:

git clone https://github.com/0xHJK/fk12306
cd fk12306 && make install

不安装直接运行:

git clone https://github.com/0xHJK/fk12306
cd fk12306
python3 fk12306.py

使用方法

$ fk12306 --help
Usage: fk12306 [OPTIONS]

  12306查票助手 Example:fk12306 -f 上海 -t 北京 -d "2019-03-01" -n "G16 G18 G22" -r

Options:
  --version                Show the version and exit.
  -f, --from-station TEXT  出发地
  -t, --to-station TEXT    目的地
  -d, --date TEXT          日期
  -s, --seats TEXT         限制座位
  -n, --train-no TEXT      限制车次
  -z, --zmode              高级模式
  -zz, --zzmode            终极模式
  -r, --remaining          只看有票
  --gcd                    只看高铁动车城际
  --ktz                    只看普快特快直达等
  --proxies-file TEXT      代理列表文件
  --stations-file TEXT     站点信息文件
  --cdn-file TEXT          CDN文件
  --help                   Show this message and exit.

使用示例

LICENSE

MIT License

fk12306's People

Contributors

0xhjk avatar

Watchers

James Cloos 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.