


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.

红头豆
jd_seckill
is written based on Python. The entire process is divided into the following steps:
Install Python3 and download the source code
##Install project dependency packages from requirements.txt
Manually open JD.com on PC, obtain the eid and fp parameters after placing an order, and fill in the configuration file config.ini
Modify the rush purchase time, it must be in the future.
- Execute
python main.py
Then enter 1 to make an appointment
- Execute
python main .py
Then enter 2 to start buying
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 Golang
mtSeckill
is standing again Get up (https://github.com/zqjzqj/mtSecKill).

I tried to compile this mtSeckill
project and run it
# 下载项目依赖 $ go mod download # 编译 $ go build cmd/main.go
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

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.

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.

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~

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) :
Whether you use win or mac, your computer needs to have the chrome browser installed
If so For win users, just double-click the exe file
- ## 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.macto run.
#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!

go语言有缩进。在go语言中,缩进直接使用gofmt工具格式化即可(gofmt使用tab进行缩进);gofmt工具会以标准样式的缩进和垂直对齐方式对源代码进行格式化,甚至必要情况下注释也会重新格式化。

go语言叫go的原因:想表达这门语言的运行速度、开发速度、学习速度(develop)都像gopher一样快。gopher是一种生活在加拿大的小动物,go的吉祥物就是这个小动物,它的中文名叫做囊地鼠,它们最大的特点就是挖洞速度特别快,当然可能不止是挖洞啦。

是,TiDB采用go语言编写。TiDB是一个分布式NewSQL数据库;它支持水平弹性扩展、ACID事务、标准SQL、MySQL语法和MySQL协议,具有数据强一致的高可用特性。TiDB架构中的PD储存了集群的元信息,如key在哪个TiKV节点;PD还负责集群的负载均衡以及数据分片等。PD通过内嵌etcd来支持数据分布和容错;PD采用go语言编写。

go语言能编译。Go语言是编译型的静态语言,是一门需要编译才能运行的编程语言。对Go语言程序进行编译的命令有两种:1、“go build”命令,可以将Go语言程序代码编译成二进制的可执行文件,但该二进制文件需要手动运行;2、“go run”命令,会在编译后直接运行Go语言程序,编译过程中会产生一个临时文件,但不会生成可执行文件。

go语言需要编译。Go语言是编译型的静态语言,是一门需要编译才能运行的编程语言,也就说Go语言程序在运行之前需要通过编译器生成二进制机器码(二进制的可执行文件),随后二进制文件才能在目标机器上运行。

删除map元素的两种方法:1、使用delete()函数从map中删除指定键值对,语法“delete(map, 键名)”;2、重新创建一个新的map对象,可以清空map中的所有元素,语法“var mapname map[keytype]valuetype”。


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SublimeText3 English version
Recommended: Win version, supports code prompts!

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

WebStorm Mac version
Useful JavaScript development tools

SublimeText3 Linux new version
SublimeText3 Linux latest version

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.
