12306 README

The project's README from github.com/testerSunshine/12306. As one markdown file: README.md.

12306 购票小助手

python版本

已有功能

依赖库

项目使用说明

目录对应说明

思路图

项目声明:

日志列子

使用帮助(一些安装问题和使用反馈较多的问题):

感谢一下小伙伴对本项目提供的帮助

更新日志

12306 (testerSunshine/12306)

Searching Database…

34K ·GitHub
archived
What is this?This is a Chinese railway (12306) ticket-booking assistant that automates logging in, solving captchas, and grabbing train tickets, including waitlist ('候补') grabbing when tickets are sold out.
Is this a GUI app or something I run on a server?It is a Python script/server you configure and run yourself (locally or via Docker), not a GUI application; it runs continuously and tries to buy tickets for you.
How do I get it running?Install the Python dependencies with pip (pip3 install -r requirements.txt), edit TickerConfig.py for email/server settings, then run the server; alternatively, with Docker and docker-compose installed you can just run docker-compose up --build -d.
Do I need anything besides Python to run this?You need Python 3.6-3.7.4 (Python 2.7 is not supported), the packages in requirements.txt, and a downloaded local captcha-recognition model, or access to a self-hosted/community captcha-solving server.
Will this guarantee I actually get a ticket?No - the author states the program only speeds up the purchase process and does not guarantee a successful booking; you should check logs and may need to retry if captcha downloads fail.
What notification options does it support?It can notify you by email or via the 'Server酱' (ServerChan) push notification service when it succeeds in grabbing a ticket.
What is the 'smart waitlist' feature?It is an automated candidate/waitlist ('候补') booking feature that keeps trying to secure a seat even when tickets appear sold out, in addition to standard pre-sale and leftover-ticket grabbing.
Why is this project archived?The repository is marked as archived/deprecated on GitHub, meaning it is no longer actively maintained, though the README and code remain available for reference.
Can it dodge IP blocks automatically?The README mentions support for automatic IP-changing routers (TP-LINK and Xiaomi models) for home network setups, though this is limited to home routers, not servers.
Size
57.2 MB
Stars
34K
Age
9y
Commits · 90 Days