GithubHelp home page GithubHelp logo

sams_buy's Introduction

sams_buy

山姆买菜

程序会下单购物车中所有有库存商品,如需添加购物车,请切换地址至其他城市。

执行程序前切记将购物车左上角地址切换为最终需下单地址

此脚本支持 8:00-9:00 的极速达及 14:00-15:00 的全城购,在此期间无须手动配置

其余时间段执行需修改open_time_5及open_time_6

deliveryType_cart,cartDeliveryType 修改配送方式(极速达/全城购)。

下单后需及时付款,程序会有音乐提示,建议再自行配置推送。

如果觉得本工程有帮助,请点击右上角送作者一个小星星QwQ

使用须知

安装requests 组件

执行

pip install --index-url https://pypi.douban.com/simple/ requests

关于配置

  1. 请使用抓包工具抓取购物车(getUserCart)页面,手机可使用stream配置https抓包,请自行查找教程

  2. 修改config.ini文件,填入抓包获取的deviceid,authtoken,trackinfo

关于测试:

建议切换至其他城市地址加购物车并下单测试,请注意及时取消订单

需注意测试后将购物车左上角地址切换为最终需下单地址

感谢作者付出

倡导大家只够买必需品!不要浪费运力

仅供学习交流,不可用于非法牟利。

版权说明

本项目为 GPL3.0 协议,请所有进行二次开发的开发者遵守 GPL3.0协议,并且不得将代码用于商用。

本项目仅供学习交流,严禁用作商业行为,特别禁止黄牛加价代抢等!

因违法违规等不当使用导致的后果与本人无关,如有任何问题可联系本人删除!

sams_buy's People

Contributors

siax avatar

Stargazers

 avatar

Watchers

 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.