推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
lovezww2011
V2EX  ›  Python

JD 首页秒杀抢购 Python 脚本

  •  
  •   lovezww2011 ·
    geeeeeeeek · Jun 20, 2022 · 5938 views
    This topic created in 1448 days ago, the information mentioned may be changed or developed.

    代码地址:

    https://github.com/geeeeeeeek/jd_qianggou

    使用步骤:

    第一步:获取 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 ,如 2022-05-02 12:00:00 。数量可随意设置,但需要考虑到店铺的库存以及是否设置为限购 1 件。

    第四步:开始抢单

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

    即可

    9 replies    2022-06-21 18:59:50 +08:00
    lixuedong
        1
    lixuedong  
       Jun 20, 2022
    会不会黑号,,,
    letitbesqzr
        2
    letitbesqzr  
       Jun 20, 2022
    哥 像 100012043978 这种 有戏吗?
    996bujiaban
        3
    996bujiaban  
       Jun 21, 2022
    你源码里是不是把自己 cookies 也展示出来了
    IssacTomatoTan
        4
    IssacTomatoTan  
       Jun 21, 2022 via Android
    秒杀还需要抢呢
    steins2628
        5
    steins2628  
       Jun 21, 2022
    自己的 cookie 上传前别忘记消啊,快改密码
    deng1xia
        6
    deng1xia  
       Jun 21, 2022
    @letitbesqzr #2 以前有戏,用脚本在网页抢到过,现在茅台仅限京东实名认证用户 APP 端抢购
    yuancoder
        7
    yuancoder  
       Jun 21, 2022
    秒杀也不用抢啊,jd 隔两天就会搞一个更低的价继续秒杀,秒杀的商品还不保价
    sunseek
        8
    sunseek  
       Jun 21, 2022
    请问一下这个可以抢茅台吗?
    abcde51111
        9
    abcde51111  
       Jun 21, 2022
    @sunseek #8 楼上说现在限制 APP 端抢购
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1046 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 64ms · UTC 23:05 · PVG 07:05 · LAX 16:05 · JFK 19:05
    ♥ Do have faith in what you're doing.