All Projects → YeautyYE → Train Ticket Reaper

YeautyYE / Train Ticket Reaper

Licence: mit
⚠️[已关闭] 简单、高效的12306.com(全能出行、非 12306.cn 中国铁路客户服务中心)抢火车票项目。4种抢票模式。车次时间限制。无需内嵌浏览器,纯HTTP请求。

Programming Languages

java
68154 projects - #9 most used programming language

Labels

Projects that are alternatives of or similar to Train Ticket Reaper

telegram-support-bot
A Telegram ticketing/supporting system.
Stars: ✭ 180 (+9.09%)
Mutual labels:  ticket
Alf.io
alf.io - The open source ticket reservation system for conferences, trade shows, workshops, meetups
Stars: ✭ 862 (+422.42%)
Mutual labels:  ticket
Ticketview
🎫 A custom view for showing tickets
Stars: ✭ 101 (-38.79%)
Mutual labels:  ticket
json2xml
json to xml converter in python3
Stars: ✭ 76 (-53.94%)
Mutual labels:  ticket
Itop
A simple, web based IT Service Management tool
Stars: ✭ 349 (+111.52%)
Mutual labels:  ticket
Handesk
A Powerful Laravel Help Desk and Lead Management App
Stars: ✭ 1,009 (+511.52%)
Mutual labels:  ticket
ticketator
Django simple ticketing system
Stars: ✭ 47 (-71.52%)
Mutual labels:  ticket
Dotnetdesk
Asp.Net Example web application showing the capabilities of ASP.NET Core 2 MVC, EF (Entity Framework), Web API, Bootstrap, jQuery, datatables, adminlte template and many more. Web app created as helpdesk or ticket support portal.
Stars: ✭ 136 (-17.58%)
Mutual labels:  ticket
Trackdown
TrackDown - Issue Tracking with plain Markdown. If you are missing the "git clone" for your tickets from github.com or bitbucket.org, then this is for you. A lightweight Ticketing System for distributed and unconnected small Teams.
Stars: ✭ 10 (-93.94%)
Mutual labels:  ticket
Formcreator
GLPI Plugin Formcreator (DOWNLOAD : https://github.com/pluginsGLPI/formcreator/releases)
Stars: ✭ 95 (-42.42%)
Mutual labels:  ticket
TicketKit
A framework that create easily Ticket or Coupon
Stars: ✭ 21 (-87.27%)
Mutual labels:  ticket
12306formac
An unofficial 12306 Client for Mac
Stars: ✭ 2,796 (+1594.55%)
Mutual labels:  ticket
Ruby Escper
Escper is a collection of essential tools that make printing of plain text and images to one or many serial thermal printers easy. Both USB and serial (RS232) printers are supported and detected automatically. Escper is useful for Ruby based Point of Sale systems that want to print receipts or tickets.
Stars: ✭ 64 (-61.21%)
Mutual labels:  ticket
quickprinter
[Quick Printer] Created for the purpose of serving as a channel among other applications that require printing data on receipt printers using ESC / POS commands.
Stars: ✭ 99 (-40%)
Mutual labels:  ticket
Brimir
Email helpdesk built using Ruby on Rails and Zurb Foundation
Stars: ✭ 1,404 (+750.91%)
Mutual labels:  ticket
tiket
TIKET is a ticketing/helpdesk system to support and help you deal with issues/incidents in your organization or from customers.
Stars: ✭ 59 (-64.24%)
Mutual labels:  ticket
Panel App
Novo SGA Panel Client
Stars: ✭ 31 (-81.21%)
Mutual labels:  ticket
12306 ticket
🌈12306购票/取消订单/退票程序(2019-12-08最新版)
Stars: ✭ 160 (-3.03%)
Mutual labels:  ticket
Ticket
简单的工单系统
Stars: ✭ 114 (-30.91%)
Mutual labels:  ticket
Loonflow
基于django的工作流引擎,工单(a workflow engine base on django python)
Stars: ✭ 1,153 (+598.79%)
Mutual labels:  ticket

本项目已关闭

由于对应站点限制相同ip的访问频率,导致不能快速的进行车票查询.

如需使用本项目进行抢票,可自行集成代理ip池即可 (但这样比较麻烦,建议直接使用第三方抢票app)

如之后有较好的解决方案,将重新开启更新

吐槽


在正式开始文档前,一定要深深的吐槽一波!!! 想当年,我也是一个天真的抢票族,常年用去哪儿网的抢票。 平常抢个票感觉还不错,但一到节假日!他就开始!掉!链!子!!! 前端页面写着,95%成功率抢票成功,我天真的选了好几个班次。结果发现!我被前端的95%骗了!(虽然我也知道那就是随便写上去的数字) 然后我的心情就*&……@&#!@……()(@&$()!(@&%()&!(¥—— 实在没办法,只能自己手动撸一段抢票代码,哎 (手动滑稽)

吐槽归吐槽,去哪儿网毕竟是免费给大家用的,也不可能太快嘛~ 你懂的~ 所以还是要谢谢去哪儿网那些年帮我抢过的票票~


Q&A

  • Q:这个项目是抢www.12306.cn(中国铁路客户服务中心)的票吗?

  • A:不是。这个是抢12306.com(点点出行)的票。

  • Q:为什么要抢点点出行的票,而不是中国铁路客户服务中心?

  • A:www.12306.cn(中国铁路客户服务中心)里面抛开登陆验证不说,之后的各种数据获取足以让人头痛。要做成纯HTTP请求难度非常大,所以目前大部分都是以Selenium或Chrome脚本的形式在www.12306.cn进行抢票。

  • Q:12306.com(点点出行)是个什么网站,会不会有风险?

  • A:这个网站其实就和携程、去哪儿网一样是第三方票务代售,他也是在国内备案过的。而使用12306.com估计他只是想从www.12306.cn偷偷的获取一部分流量。

  • Q:在这里抢票是否会产生除了票价外其它费用?

  • A:不会,价格和www.12306.cn一样的。

项目介绍

  • train-ticket-reaper 的目标是以简单的使用方法、和高效的抢票让小伙伴们安心的抢到回家的票
  • 抢票的原理是模拟http请求调用12306.com(非www.12306.cn)API进行查询、下单、确认等(没有付款步奏,保证小伙伴钱包的安全,抢到后自行登陆http://12306.com/付款即可)。
  • 没有复杂的环境配置和依赖,只需要把该填的参数填上,run一下就可以一直放着等他抢到票为止
  • 提供4种不同的抢票模式(极速模式、丧心病狂模式、为了抢票不要命模式、无脑下单模式),后两种非万不得已,不建议使用

快速启动 (2种启动方式,选一种即可)

  1. IDE启动
  • 导入项目并在配置文件中填入信息

  • 启动项目


  1. jar包启动
  • 进入源代码根目录
  • 使用maven进行打包
mvn clean package -DskipTests
  • 运行命令
java -jar train-ticket-reaper --from-station=*** --to-station=*** --just-gd=true=*** --dept-date=*** --seat-name=*** --account=*** --password=*** --passenger-name=*** --passport-no=*** --sex=* --contact-mobile=*** --contact-name=*** --timeRange=*** --webhook-token=*** --mode=*
  • 参数说明
######### [车次信息] #########
#出发站 如 深圳
from-station =
#目的站 如 上海
to-station =
#是否只看高铁/动车 (非必填,默认值 true)
just-gd =
#车次日期 如 2018-04-09
dept-date =
#时间范围 (火车发车时间范围限制,不填默认不限制) 如:10:30-14:50 注意冒号使用英文的:
timeRange =
#座位名称 如:二等座,一等座,无座
seat-name =

######### [登陆信息] #########
#登陆用户名
account =
#登陆用户密码
password =

######### [乘客信息] #########
#乘客姓名
passenger-name =
#乘客身份证号码
passport-no =
#乘客性别 男M 女F
sex=M

######### [联系人信息] #########
#联系人号码 如 13888888888
contact-mobile =
#联系人姓名 如 张三
contact-name =

######### [钉钉通知] ######### (非必填)
#钉钉自定义机器人的webhookToken,不使用钉钉机器人进行通知则不填 如 https://oapi.dingtalk.com/robot/send?access_token=4a637ce2b7ce6c0be48fc3388265345ee1cd4ea036ce705112ed618924f987aa
webhook-token =

######### [抢票模式] ######### (非必填,不填使用默认值)
#1 极速模式  2 丧心病狂模式  3 为了抢票不要命模式  (默认1) 4 无脑下单模式
mode =

通知方式

1.钉钉自定义机器人(如果使用阿里巴巴的钉钉)

2.佛性通知

  • 当抢票成功后,程序会自动退出(不用担心资源浪费等问题)。
  • 当下单成功的15分钟后,12306.com会主动发信息到你填的 联系人号码 上(因为12306.com想催你给钱啊~)
  • 所以不用担心抢票成功后又被超时取消

抢票模式

1.极速模式

  • 只需按照快速启动,即时极速模式。
  • 默认每秒检测一次(从早上6点到24点)。
  • 遇到有位置,占座时直接 while(true) 进行占座请求。普通浏览器5秒一次占座

2.丧心病狂模式

  • mode设为2
  • 每秒平均10次检测
  • 占座也是 while(true)

3.为了抢票不要命模式

  • mode设为3
  • 在 丧心病狂 模式基础上使用100条线程运行
  • 占座也是 while(true)

4.无脑下单模式

  • mode设为4
  • 不进行票数检测
  • 对符合要求的车次直接进行下单请求

Tips

列车发车时间的前一天晚上,19:30-22:00,通常会比较多人退票。这时候抢票成功概率非常搞。
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].