GithubHelp home page GithubHelp logo

awesome-archive / jd_seckill Goto Github PK

View Code? Open in Web Editor NEW

This project forked from woxiqingxian/jd_seckill

0.0 1.0 0.0 10 KB

优化后京东抢购脚本,让自己和黄牛站在同一起跑线上。

Python 100.00%

jd_seckill's Introduction

写在最前面

  • 非完全开箱即用,需要你有能力去大致理解代码。
  • 脚本使用时间是在大致在2021年过年期间,所以现在(2021年7月)不能完全保证其可用性。
  • 网络上类似的代码也有蛮多的,欢迎大家互相参考学习。

特别声明:

  • 本项目仅用于测试和学习研究,禁止用于商业用途,不能保证其合法性,准确性,完整性和有效性,请根据情况自行判断。

  • 请勿将项目的任何内容用于商业或非法目的,否则后果自负。

  • 作者对任何脚本问题概不负责,包括但不限于由任何脚本错误导致的任何损失或损害.

简介

  • 京东抢购脚本,让自己和黄牛站在同一起跑线上。

  • 全自动定时抢购,多进程同时间隔启动,增加抢购概率。

  • 脚本一开始设计用来抢购茅台,如果需要抢购其他,需自行研究一下代码改造。

运行环境和依赖

  • 基于 Python 3
  • 需要用到的库放在 requirements.txt
pip3 install -r requirements.txt

使用教程

0. 一些信息

完成config.py 里面的配置信息 推荐Chrome浏览器登录获取需要的信息

1. eid 和 fp

找个普通商品随便下单,然后抓包就能看到,这两个值可以填固定的 随便找一个商品下单,然后进入结算页面,打开浏览器的调试窗口,切换到控制台Tab页,在控制台中输入变量 _JdTdudfp,即可从输出的Json中获取 eid 和 fp。

2. sku_id 和 user_agent

sku_id 已经按照茅台的填好。 user_agent 可以用默认的。谷歌浏览器也可以浏览器地址栏中输入about:version 查看 USER_AGENT 替换

3. payment_pwd

支付密码 如果你的账户中有可用的京券(注意不是东券)或 在上次购买订单中使用了京豆, 那么京东可能会在下单时自动选择京券支付 或 自动勾选京豆支付。 此时下单会要求输入六位数字的支付密码。请在下方配置你的支付密码,如 123456 。 如果没有上述情况,空字符串就行

4.运行

python3 python3 jd_seckill.py

根据提示选择相应功能即可

5.抢购结果确认

一般情况下抢购是否成功通常在程序开始的一分钟内可见分晓!

==================================================
[提交抢购] 抢购成功,
    订单号: xxxxxxxxxxxx,
    总价: xxxxxxx,
    电脑端付款链接: xxxxxxxxxxxx
==================================================

查看日志,出现 “抢购成功" 信息,代表成功抢到了,赶紧在手机上完成支付流程。

若两分钟还未抢购成功,基本上就是没抢到!

写在最后

  • 欢迎享用,抢到即赚到。

jd_seckill's People

Contributors

woxiqingxian avatar

Watchers

 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.