GithubHelp home page GithubHelp logo

gogo12306's Introduction

gogo12306

Go编写的12306抢票工具

使用方法

将 config.example.json 复制一份,更名为 config.json,然后打开后按注释修改里面的内容

Usage of gogo12306:

-c 筛选延时在 300ms 内的可用 CDN

-g 开始抢票

编译:

go mod tidy

go build

运行:

①将config.example.json复制一份,命名为config.json,按里面的注释修改配置

②执行以下命令筛选延时300ms以内的CDN,加速刷票进度:

gogo12306 -c

③执行以下命令开始刷票:

gogo12306 -g

目前已完成的功能:

  • 自动识别验证码
  • 手机验证码登录
  • 登录 12306
  • 使用加速 CDN 使刷票更快
  • 同步服务器时间使抢票更快
  • 定时刷票
  • 自动下单
  • 候补订单
  • 刷票改签
  • 抢票成功提醒(目前只支持 Server酱、WXPusher)

验证码识别依靠pjialin大佬的PY12306 助手 (pjialin.com)(https://py12306-helper.pjialin.com/)

gogo12306's People

Contributors

tzwsoho 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.