Tagged articles
2 articles
Page 1 of 1
Efficient Ops
Efficient Ops
Jan 20, 2018 · Operations

How to Build a Python Bot to Snatch 12306 Train Tickets

This guide explains how to use Python and the Splinter library to automate login, search, and booking on China’s 12306 railway website, covering required tools, key URLs, control identification, cookie extraction, and running the script while noting the remaining captcha step.

12306PythonTicket Scraping
0 likes · 4 min read
How to Build a Python Bot to Snatch 12306 Train Tickets
MaGe Linux Operations
MaGe Linux Operations
Jan 12, 2018 · Backend Development

Automate 12306 Train Ticket Booking with Python and Splinter

This tutorial explains how to use Python 2.7 and the Splinter web‑automation library to log into 12306, search for tickets, handle cookies, and automatically complete the booking steps, requiring only manual captcha entry and payment confirmation.

12306Web Automationsplinter
0 likes · 4 min read
Automate 12306 Train Ticket Booking with Python and Splinter