Giter Site home page Giter Site logo

jd_qianggou's Introduction

程序入口

python jd.py

前置步骤:清空购物车,减少其他商品干扰

总体步骤如下:获取cookie->获取商品ID->设置抢购时间和数量->开始抢单

第一步:获取cookie

登录pc版JD商城,进入购物车,打开控制台,查看接口 https://api.m.jd.com/api?functionId=pcCart_jc_getCurrentCart 的cookie,填入cookie的输入框

第二步:获取商品id

找到需要抢购的商品,查看详情,可以看到浏览器的URL为 https://item.jd.com/xxxxxxxx.html, 复制xxxxxxxx填入商品ID框,

第三步:设置抢购时间和数量

抢购时间需要格式设置,格式为yyyy-MM-dd HH:mm:ss,如2021-11-02 12:00:00。数量可随意设置,但需要考虑到店铺的库存以及是否设置为限购1件。

第四步:开始抢单

这个时候可以泡一杯茶,静待好事发生。

即可

效果预览

问题咨询

微信:lengqin1024

jd_qianggou's People

Contributors

geeeeeeeek avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.