Beat jd_seckill, the Go language version can grab the Maotai program without configuration, and take over the market with strength~

Release: 2023-07-25 16:59:24
forward
1582 people have browsed it

Beat jd_seckill, the Go language version can grab the Maotai program without configuration, and take over the market with strength~

On December 29th, I published an article "Big Brother's Open Source Moutai Script, Popular", introducing a very popular open source projectjd_seckill, using this script project, you can automatically make reservations on JD.com and automatically grab Moutai. As long as you grab a bottle, you can make a net profit of nearly 1,000 yuan. It is really money falling from the sky. In one sentence, this wave is: Technology benefits mankind~

This project has been on the top of Github for several days in a row. It has received more than 8,000 stars in just a few days, making it extremely popular. Unfortunately, the good times did not last long. Just yesterday, the author 红头豆 received a warning email from JD Security. Under heavy pressure, Hongtou Potato updated the warehouse for the last time, issued a deletion statement, and deleted the master branch.

Beat jd_seckill, the Go language version can grab the Maotai program without configuration, and take over the market with strength~

红头豆jd_seckill is written based on Python. The entire process is divided into the following steps:

  1. Install Python3 and download the source code

  2. ##Install project dependency packages from requirements.txt

  3. Manually open JD.com on PC, obtain the eid and fp parameters after placing an order, and fill in the configuration file config.ini

  4. Modify the rush purchase time, it must be in the future.

  5. Execute

    python main.py Then enter 1 to make an appointment

  6. Execute

    python main .py Then enter 2 to start buying

From this process, there are many steps that require manual operation to set up the running environment of the script. In my article After it became popular, hundreds of people added my WeChat account to ask me basic questions such as how to set up an environment. For a pure novice with no programming experience, there is a big threshold to use this script.

If you look at it from a product perspective, there is a lot of room for improvement in this project.

It’s a coincidence, it’s a forefootjd_seckill Just after it was stopped and officially removed from the shelves, there is a Maotai grabbing project written using GolangmtSeckill is standing again Get up (https://github.com/zqjzqj/mtSecKill).

Beat jd_seckill, the Go language version can grab the Maotai program without configuration, and take over the market with strength~

I tried to compile this mtSeckill project and run it

# 下载项目依赖
$ go mod download

# 编译
$ go build cmd/main.go
Copy after login

Before I found out The experience of jd_seckill is really hard to describe, the whole process is extremely smooth.

You just need to execute the following command

Beat jd_seckill, the Go language version can grab the Maotai program without configuration, and take over the market with strength~

The parameters are very intuitive

  • sku : The sku_id of the port you are snapping up. The ID below is Moutai’s

  • num: The quantity to snap up. The maximum number of Moutai bottles is 2 bottles, set to 2

  • works: How many browser windows are opened to buy

  • time: Time to buy, please note that it is not Date, but time, the time will automatically take the time of the latest day in the future.

After the execution is completed, a chrome browser will automatically open, access JD.com and let you scan the code to log in.

Beat jd_seckill, the Go language version can grab the Maotai program without configuration, and take over the market with strength~

After logging in, the program will automatically sense and obtain the eid and fp parameters. Note that this process is completely automatic, unlike the previous jd_seckill which required manual It’s so thoughtful to get it.

Beat jd_seckill, the Go language version can grab the Maotai program without configuration, and take over the market with strength~

After obtaining the eid and fp, 6 windows will be automatically opened (the work parameters you passed in before) to wait for the rush time to arrive~

Beat jd_seckill, the Go language version can grab the Maotai program without configuration, and take over the market with strength~

Isn’t it very simple and smooth? This experience is completely inferior to the previous jd_seckill. As long as a programmer who knows a little bit about Go compiles the project into an executable file, even a novice who doesn't understand programming at all can use it directly. It's simple. So convenient.

jd_seckill It gets popular too quickly and dies too quickly. I hope mtSeckill can last longer this time. Let’s grab a few more bottles. Maotai goes home and has a good New Year~

Even though the operation is so simple, in order to take care of Chun Xiaobai, there are two points I need to explain (so that no one keeps asking) :

  1. Whether you use win or mac, your computer needs to have the chrome browser installed

  2. If so For win users, just double-click the exe file

  3. ## If you are a mac user, you need to go to the terminal to execute this command after downloading to grant execution permission

    chmod x mtSeckill.mac, and then execute the command ./mtSeckill.mac to run.

  4. #This app does not implement the reservation function. You need to use the APP to make a reservation in advance.

The above is the detailed content of Beat jd_seckill, the Go language version can grab the Maotai program without configuration, and take over the market with strength~. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:Go语言进阶学习
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!