It’s the annual Spring Festival again. At this time, the WeChat group is full of links to grab votes and praise, helping to accelerate. The long-lost person in WeChat suddenly popped up a message, “Can you help me click the ticket to speed up?” But even if the acceleration package and the progress bar are broken, in some popular routes, you may not be able to buy the train ticket you want.

When this happens, the helpless people often have only two options. Otherwise, they can change to a ticket grabbing app and recharge to VVIP to grab the ticket again. Either raise your hand and surrender, WeChat contacted Big Brother Niu for help. Maybe Big Brother Niu’s price increase is cheaper than the acceleration fee of the ticket grabbing app.

For ordinary people, the above may be the only choices for buying Spring Festival train tickets, but for programmers who have a higher computer technology, they have a third way.

In the face of high acceleration packages, programmers have their own ideas

If you open the world’s largest program hosting site GitHub (also the largest same-sex dating site). Click to explore the trendIn the bar, you will find that two of the six most popular projects in the world are the ticket grab script developed for 12306. The total of these two projects Star is close to 30,000. Shows how popular the ticket-grabbing script is among programmers.

Both software are open source projects written in Python. You do n’t need to buy so-called “acceleration packs” to use them freely. One of the projects has released the logic of the ticket-grabbing project in the document.

Seeing the picture above, you should be able to easily understand the operation principle of ticket grabbing software. In a sense, these ticket-grabbing software follows the same operating logic as our manual ticket-grabbing. But why is it easier to grab tickets with software than to buy tickets manually?

Program ticket grabbing means higher machine efficiency

This has a lot to do with network latency. If we use the browser’s debug page and try to swipe tickets on the 12306 website, we can clearly see that from when we click the query button to the page refresh, almost every time 160ms ~ 2s delay.

Even if we click into the booking page in time, it often happens that we need to log in again or fill in the verification code. Even if we successfully open the order confirmation interface, we need to manually select the contact and other options.

When you click to submit your order, the ticket has been swiped by the major ticket grabbing apps, leaving you with only a gray seatless reminder.

But if you use these ticket-grabbing scripts, you only need to open the project configuration file before the ticket-grabbing and make the settings according to your purchase intention, and you can wait for the computer to complete the ticket-grabbing work automatically.

Compared to manual ticket grabbing, the ticket grabbing script puts everything that needs to be operated manually in the background for processing, without having to reload the website page each time you grab a ticket. As long as the data on the 12306 server is obtained, the booking operation can be performed. If a verification code appears midway, the program can also quickly identify the machine.

Know that the speed of computer identification verification code has exceeded the speed of ordinary people. Maybe the moment you blink, the verification code has been identified and the confirmation of the order does not need to be processed manually. The time saved at each step is the key to getting a home ticket.

The insurmountable speed difference between machines and humans is the core competitiveness of ticket-buying procedures that can prevail in the era of online ticket sales.

Only technology is the primary productive force

Commercial companies have seen market segmentation opportunities from this technological inequality. By creating closed technology circles, the game rules for online ticket sales have been changed, and more consumer surplus has been obtained from ordinary consumers.

The programmers who control the technology use their own knowledge to make free and open source software. They try to use their own expertise to reduce the inequality generated by technology and even gain more competitive advantages through technology.

▲ Insufficient knowledge Script errors can’t be fixed lately

There are only two options for ordinary consumers, or else they pay their consumer surplus for technological inequality. Or pay the learning costs, learn new technologies, and use your time and knowledge to get a bigger cake.

But the harsh reality is that most ordinary consumers will never compete with people who have technology or capital, after all, everyone Experience is extremely limited, unable to excel in oneselfGain an advantage out of the field. If all opportunities are monopolized by the capital and technology owners, it will inevitably result in a fare that is difficult to obtain. As a basic transportation facility guaranteed by the state, trains do not allow these situations.

This is the same reason as before, the Ali programmers grabbed the red envelope, and the Ali programmer script grabbed the moon cake and was officially blocked. Society can allow minor injustices, but when the area of ​​injustice is so large that it can attract public opinion, there will inevitably be authorities to control out-of-control technology and capital with policy measures.

This time has come. In these two days, 12306 officials have blocked some technical interfaces to restrict third-party robberies. Ticket software.

How is the effect? ​​We can look at the comment area of ​​ticket grabbing software in the major application markets, the market will give the real s answer.

PS: GitHub link script is placed here , interested friends may wish to take a look.