Code Monkey home page Code Monkey logo

monkey-master's Introduction

monkey-master

黄皮衣,酥麻罪恶滔天,此项目诞生于抢购猴卡 RTX3080、RX6800XT.....。

目录结构

monkey-master
├── order/
├── util/                  
├── conf.json               配置文件,可修改
├── index.js                入口
├── main.js                 
├── install.bat             安装脚本
├── start.bat               运行脚本
└── README.md

安装

安装 deno:

Shell (Mac, Linux):

curl -fsSL https://deno.land/x/install/install.sh | sh

PowerShell (Windows):

iwr https://deno.land/x/install/install.ps1 -useb | iex

安装依赖插件:

deno install -qAf --unstable https://deno.land/x/denon/denon.ts

启动

deno run --allow-env --allow-read --allow-write --allow-net --allow-run --allow-plugin --unstable --no-check index.js

or

denon start

配置参数说明

在 conf.json 文件中配置必要参数:

参数 说明 是否必须 数据类型 默认值
timeout 请求超时时间 单位毫秒 Number 5000
useRandomUA 启动随机 user-agent Boolean false
userPath 用户信息暂存目录 string ./cookie/
password 支付密码 required string
eid 设备 ID,部分系统可自动获取也可以手动配置 string
fp fingerprint,部分系统可自动获取也可以手动配置 string
sckey 用于下单成功的消息推送,这里借用第三方工具 http://sc.ftqq.com/ string

最佳实践

  • 操作之前删除购物车内的相关物品,因为JD的商品数据结构存在变化,依赖本公举可能会造成数量错误
  • 只监控一个 ID 可加快下单速度/成功率
  • 增加京东金融分期接口,可从秒杀模式进入(听说这个方式节省步骤成功率较高)

TODO

  • auto get fingerprint (e.g. eid,fp).
  • 秒杀商品
  • GUI - 部分完成

monkey-master's People

Contributors

qiin2333 avatar wuqin0791 avatar

Watchers

James Cloos 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.