MCPcopy Index your code
hub / github.com/callmegaga/JDDuoBaoDao

github.com/callmegaga/JDDuoBaoDao @1.0.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.0.2 ↗ · + Follow
314 symbols 1,124 edges 9 files 9 documented · 3% updated 2y ago1.1.0-beta · 2021-09-11★ 1083 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

京东夺宝岛自动加价抢购程序

目前只能对单个商品进行抢购

使用方法

  1. clone整个下项目
  2. 安装nodejs,进入项目目录,执行npm install,安装依赖环境
  3. 修改index.js中的Item_IDMaxPrice,分别代表商品的ID和最高的价格
  4. node index.js开始抢购

基本原理

使用puppeteer加载拍卖页面,先模拟一次正常操作的出价,获取出价请求中需要的各个参数,

然后轮询当前出价价格和剩余出价时间,在剩余出价时间在1S以内时,开始请求出价接口。

注意事项

  • 本程序仅供本人研究学习使用
  • 需要安装chrome浏览器
  • 理论上加价幅度越大,越容易成功
  • 如果网络环境不好,可以把BoomToOfferPriceTime值设置高一点
  • 在登录成功后跳转,有几率需要进行手动点击验证

Core symbols most depended-on inside this repo

n
called by 686
pages/js/chunk-vendors.f72af33e.js
i
called by 245
pages/js/chunk-vendors.f72af33e.js
r
called by 158
pages/js/chunk-vendors.f72af33e.js
e
called by 85
pages/js/chunk-vendors.f72af33e.js
o
called by 84
pages/js/chunk-vendors.f72af33e.js
a
called by 63
pages/js/chunk-vendors.f72af33e.js
c
called by 59
pages/js/chunk-vendors.f72af33e.js
r
called by 54
pages/js/app.953900ff.js

Shape

Function 314

Languages

TypeScript100%

Modules by API surface

pages/js/chunk-vendors.f72af33e.js297 symbols
server/index.js9 symbols
pages/js/app.953900ff.js7 symbols
main.js1 symbols

For agents

$ claude mcp add JDDuoBaoDao \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page