weceng/ticket-purchase

大麦自动抢票,支持人员、城市、日期场次、价格选择

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 31 minutes ago
Added to GitGenius on September 9th, 2026
Created on October 12th, 2023
Open Issues & Pull Requests: 58 (+0)
GitHub issues: Enabled
Number of forks: 884
Total Stargazers: 7,196 (+0)
Total Subscribers: 18 (+0)

Repository Insights (GitGenius)

Most active contributors

Sign in to see contributor activity.

Related repositories by overlapping contributors

No overlapping-contributor repos identified yet.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 34
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 447 days
Stale 30+ days: 32
Stale 90+ days: 28

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Ticket-purchase is a Python automation tool for purchasing tickets on Damai, a Chinese ticketing platform, supporting both web and mobile interfaces.

The tool addresses the challenge of securing tickets during high-demand sales periods by automating the ticket selection and purchase workflow. It uses Selenium for web-based ticket purchasing and Appium for mobile automation on Android devices. The automation handles the repetitive steps of searching for events, selecting specific performance details like city and date, choosing price tiers, and adding designated attendees to orders. It includes retry logic and optimized clicking strategies designed for the rapid interactions required in competitive ticketing scenarios.

Developers should choose this tool if they need to automate ticket purchases on Damai specifically and have the infrastructure to support either web automation with Chrome or mobile automation with an Android device and Appium. The mobile approach is recommended in the documentation. The project requires Python 3.9 or later, Node.js, and either a modern Chrome browser with ChromeDriver for web-based purchasing or a configured Android environment with Appium for mobile purchasing. Configuration is handled through JSON files where users specify search keywords, attendee names, performance city and date, ticket price preferences, and whether to automatically submit orders. The tool suits projects where ticket acquisition needs to be automated for specific events with known parameters.

The project shows active maintenance with troubleshooting documentation addressing common setup issues including Node.js version compatibility, Android environment configuration, device connectivity, and Appium server connection problems. The codebase includes debugging guidance for verifying device status and Appium connectivity. Documentation covers the complete workflow from environment preparation through execution and result monitoring, with detailed configuration parameter explanations and system requirement specifications for different operating systems.