Jingdong Moutai snap-up method, standing on the same starting line as scalpers

Article directory

Introduction to source code

operating environment

third party library

Source code download

Specific operation supplement

Other netizens added

Introduction to source code

The main function

  • Log in to Jingdong Mall (www.jd.com)

    • Scan the QR code given by Jingdong APP
  • Reserve Moutai

    • Timed automatic appointment
  • Waiting for snap-up after making an appointment

    • Start automatic buying at regular intervals

operating environment

  • Python 3

third party library

  • The library that needs to be used has been placed in requirements.txt, and the instructions can be used to install with pip

  • pip install -r requirements.txt

源码下载 在文末

Specific operation supplement

1: Configuration information config.ini: Obtain eid and fp
Use Google browser, open Jingdong website, log in, choose a product at will to place an order for settlement, enter the settlement page and press F12 to enter the debugging mode, switch to the Console tab, in the control Enter _JdTdudfp to get eid and fp

insert image description here
Fill in the obtained eid and fp into config.ini and save

2: Python environment construction

Download the Baidu Python installation software or see Lan Zuoyun in the following text. After installation, you will find that you will crash when you open main.py directly. It’s okay, continue to install other environments
0.1: win+r enter cmd,

输入pip install certifi==2020.4.5.1
1

Wait for the installation to complete

insert image description here
Execute sequentially

pip install chardet==3.0.4
1

Wait for the installation to complete

pip install idna==2.9
1

Wait for the installation to complete

pip install lxml==4.6.2
1

Wait for the installation to complete

pip install requests==2.23.0
1

Wait for the installation to complete

pip install urllib3==1.25.9
1

Wait for the installation to complete

After all the above installations are complete, run main.py again and follow the prompts

insert image description here
Quick purchase link error supplement

insert image description here

源码下载在文末

insert image description here
insert image description here
About Python Technical Reserve

It is good to learn Python whether it is employment or sideline business to make money, but to learn Python, you still need a study plan. Finally, everyone will share a full set of Python learning materials to help those who want to learn Python!

1. Learning routes in all directions of Python

The route of all directions in Python is to organize the commonly used technical points of Python to form a summary of knowledge points in various fields. Its usefulness lies in that you can find corresponding learning resources according to the above knowledge points to ensure that you learn more comprehensively.

2. Learning software

If a worker wants to do a good job, he must first sharpen his tools. The commonly used development software for learning Python is here, which saves you a lot of time.

3. Introductory learning video

When we watch videos and learn, we can’t just move our eyes and brain without using our hands. A more scientific learning method is to use them after understanding. At this time, the hands-on project is very suitable.

4. Practical cases

Optical theory is useless, you have to learn to follow along, and you have to do it yourself, so that you can apply what you have learned to practice. At this time, you can learn from some actual combat cases.

5. Interview materials

We must learn Python to find high-paying jobs. The following interview questions are the latest interview materials from first-line Internet companies such as Ali, Tencent, and Byte, and Ali bosses have given authoritative answers. After finishing this set The interview materials believe that everyone can find a satisfactory job.


This full version of the full set of Python learning materials has been uploaded to CSDN. If you need it, you can scan the QR code of CSDN official certification below on WeChat to get it for free【保证100%免费

Guess you like

Origin blog.csdn.net/JAVAmonster12/article/details/130346708