Skip to content

使用golang开发的12306抢票程序

Notifications You must be signed in to change notification settings

cocktail18/go-12306

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-12306

介绍

使用golang开发的12306抢票程序

已有功能

  • 自动打码
  • 自动滑块
  • 自动登录
  • 自动获取Cookie
  • 准点预售捡漏
  • 自动提交订单
  • 邮件通知
  • 微信通知

依赖库

  • 验证码识别使用的是第三方

    http:https://littlebigluo.qicp.net:47720/
    
  • 火狐浏览器

    http:https://www.firefox.com.cn/
    
  • go安装教程

    https://www.runoob.com/go/go-environment.html
    

项目使用说明

  • 修改配置文件

    配置文件格式是yaml不会的百度,邮箱地址先配置发件邮箱
    
  • 启动服务

    使用的是go mod包管理
    
    1. go mod init go-12306
    2. go mod vendor
    3. go run main.go
    
    打包
    go build -a
    

建议

先运行 login.exe 他是获取cookie,之后会每次查是否登录没有会自动弹出获取

项目声明:

  • 本软件只供学习交流使用,勿作为商业用途,交流群号
    • 781286902
  • 进群先看公告!!!

About

使用golang开发的12306抢票程序

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages