Git Product home page Git Product logo

sam-helper's Introduction

sam-helper

山姆自动下单,提供捡漏模式和抢单模式,手机端添加购物车,自动下单,去手机端支付既可。

注意事项

开发中,请及时更新代码。

目前只能下单普通商品,暂无法购买全球购等渠道。

主程序不要运行超过2分钟,会被风控。

抢单不易,请勿用于商业牟利。

使用说明

抢保供套餐使用说明:UserConfig中新增模式选择,默认为抢保供模式,需要抢极速达的朋友自行修改为0。 暂时修改了哨兵模式,目前不会播放音乐,而是轮询抢购。优化中。。。

程序端:根据抓包数据,填写UserConfig文件中的变量,运行测试(AplicationTest)查看能否正确获得购物车信息。

在58分半的时候开始运行主程序(Application),切记主程序不能运行超过2分钟,会被风控。平时可以运行捡漏模式(Sentinel)。

手机端:app上添加商品至购物车,确认下单地址,下单成功后进行付款。

电脑端:微信小程序,抓包接口数据。以及运行程序。

抓包说明

使用抓包软件,mac下charles win下fiddler,抓取山姆小程序打开购物车触发的这个接口

headers

测试环境

Mac 微信小程序 浦东 全城送 微信支付

更新记录

2022.04.21

  1. 新增保供套餐自动检测下单功能(测试中)

2022.04.18

  1. 减少哨兵模式的请求频率避免风控
  2. userconfig中的lablelist为非必填项,写死

2022.04.17

  1. 完善代码
  2. 减少并发数,避免风控
  3. 更新readme
  4. 添加抓包说明

2022.04.16

  1. 哨兵捡漏模式,用于日常捡漏。
  2. 完善代码,添加注释
  3. 更新readme

特别感谢

代码结构参考至 https://github.com/JannsenYang/dingdong-helper

山姆接口参考至 https://github.com/azhan1998/sam_buy

群组讨论

qrcode

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.