GithubHelp home page GithubHelp logo

sam-helper's Introduction

sam-helper

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

注意事项

本程序功能简易,适合有java基础的朋友使用。

希望一键使用的朋友,推荐隔壁的go项目。 https://github.com/robGoods/sams

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

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

简易说明

8点极速达:提前一天先加好购物车,修改UserConfig中的deliveryType,然后运行Sentinel。

11点保供套餐:修改UserConfig中的deliveryType,提前运行Sentinel即可。

14点全城送:加好购物车,修改UserConfig中的deliveryType,然后运行Sentinel。

下单成功后去app付款

功能特色

  1. 哨兵捡漏(Sentinel):设置好需要抢购的模式,提前将商品加入购物车,程序检测是否达到目标金额,自动选择最近配送时间并下单。
  2. 对于限购商品,依据购物车数量,提交订单时候商品数量不超过限购值。
  3. 极速达超重商品自动拆分下单。
  4. 保供商品拆分为单个下单,并支持白名单。
  5. 自动使用优惠卷。
  6. 集成bark和server酱的推送提醒。
  7. 支持自选收货地址。

抓包说明

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

headers

测试环境

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

更新记录

2022.05.15

  1. 将保供套餐捡漏模式整合进哨兵主程序(在UserConfig中的deliveryType设置为3)
  2. 添加收货地址选择功能
  3. 优化优惠卷功能,现支持全部种类优惠券

2022.05.10

  1. 恢复哨兵模式下的全城送捡漏模式
  2. 添加倒计时功能(重置时间节点为0点)

2022.05.05

  1. 新增购物车商品校验,限购商品下单后自动剔除,超重订单自动分批下单

2022.05.02

  1. 添加优惠券功能(目前只支持满减卷,自动匹配最大金额下单)
  2. 两个模式模式均修改为持续不间断运行

2022.04.26

  1. 大幅优化下单逻辑,减少延时(因为waf加强,已经回滚)

2022.04.24

  1. 保供套餐自动检测下单功能,独立出来(可以使用,待优化)
  2. 优化极速达捡漏下单功能,目前可以全天候持续捡漏下单

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

交流群组

sam-helper's People

Contributors

notwojack avatar yj180423 avatar greggzj avatar status2xx 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.