Giter Club home page Giter Club 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 --no-check  https://deno.land/x/denon/denon.ts

启动

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

or

denon start

第一次运行会下载依赖资源包,如果下载不成功可以多试几次。

配置参数说明

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

参数 说明 是否必须 数据类型 默认值
timeout 请求超时时间 单位毫秒 Number 5000
useRandomUA 启动随机 user-agent Boolean false
intersection 提交订单请求重叠时间 Number 0.5
eid 设备 ID,部分系统可自动获取也可以手动配置 string
fp fingerprint,部分系统可自动获取也可以手动配置 string
sckey 用于下单成功的消息推送,这里借用第三方工具 http://sc.ftqq.com/ , 请自行注册 string
autoReserve 在定时下单时是否开启自动预约(当需要输入验证码时会跳过预约) Boolean true
openQrInNewWindow 在新窗口中打开二维码,为 false 时会在 terminal 中打开二维码 Boolean false

支持多实例多账号运行,具体帐号相关配置在运行时填写。

最佳实践

  • 操作之前建议删除购物车内的相关物品
  • 网络延迟、服务器与本地时间差异的问题已为你考虑,抢购时间不必修改。
  • 同一账号 web 和金融通道可同时运行,不冲突。
  • 关于抢购模式的问题可以看看这里 issue #30
  • 还有问题?follow us

TODO

  • auto get fingerprint (e.g. eid,fp).
  • 秒杀商品
  • GUI - 改为 server 支持实现

喜茶

BTC: 1Gon1RGC12yhwaU2Cv56rLonuKCB5e4bR8

monkey-master's People

Contributors

qiin2333 avatar wuqin0791 avatar doveeeee avatar baranwang 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.