Giter Club home page Giter Club logo

maotai_guit's Introduction

MaoTai_GUI 可视化(即 exe 可运行文件)

JD 京东抢购、京东抢茅台 Windows 端、开箱即用无需配置环境。开发在即(开源协议采用 Apache License)

首先感谢无名作者提供部分代码思路,根据原作者部分代码,所采用 Apache License2.0 开源方式。

脚本软件开发调试中具体情况等待回复

联系收款方:[email protected]

更新日志:

2023年10月8日

  • 再次修复了JD服务器时间戳错误不准确问题
  • (这次是实打实JD服务器返回时间)

2023年10月6日

  • 修复了JD获取时间戳的问题,以前可能存在误差过大的情况。

2023年9月27日

  • 增加了多线程执行功能,这将提高程序的执行效率和性能。


(前端、后端、小程序、python 等定制化开发其他软件请联系:[email protected]

  • 2023 年 9 月 20 日

此脚本分为两种运行模式

  • Python 脚本即时运行模式

  • Windows7 及以上 exe 运行模式

使用教程

软件使用前务必手动获取自己移动端的 Cookie。

第一步抓包

Android & IOS 通用教程

此方法需要电脑和手机配合。相对来说稍微简单些,方便些,参数都在电脑上方便复制。使用Fiddler软件抓包

Android 教程

IOS 教程

IOS 抓包方法 2

此外如果暂时没有电脑的情况下,可以使用软件Stream来进行抓包。

具体方法可参照 IOS 抓包 2


第二步解析参数

刚刚上面教程讲到移动端 Cookie 的组成是:pin=用户名;wskey=xxxx;

我们把对应的 Cookie 放到软件的输入框里,或者代码文件main.pyjdseckillAPIv2.py文件里

以下步骤软件用户暂时忽略



可放置多个 Cookie。然后把请求里面的 hades 头数据,在`Stream` 单击 选择`格式化参数`。如图


提取出上述参数在jdseckillAPIv2.py文件里init初始化的方法里,组成我们的提交参数

 self.eid = "eidIc11281210csxxxxxxxxxs4jVhEKMSQBNx6"
 self.uuid = "f3a6322845f49axxxxx"
 self.uts = "0f31TVRjBSsqndu4/jgUPz6uymy50MQJ01UyNObxxxxxxxx"
 self.wifiBssid = "e965f6dexxxxxxx"

第三方库

需要使用到的库已经放在 requirements.txt,使用 pip 安装的可以使用指令 pip install -r requirements.txt 如果国内安装第三方库比较慢,可以使用以下指令进行清华源加速 pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/

运行

python myapp.py

maotai_guit's People

Contributors

chao325 avatar

Stargazers

 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.