Giter Site home page Giter Site logo

jdbuymask's Introduction


如果帮助到你,star一下,谢谢你

武汉加油,**加油


使用上有问题的加一下这个群958535145(个人时间有限,回答不过来了)

本代码使用方式 https://blog.csdn.net/cyz52/article/details/104177981

下单的部分代码参考了tychxn大佬的代码

有人说贪多嚼不烂,v3版本下单更快(V3没完整测试过,个人账号下单过多,需要验证码了),测试过的同学可以反馈一下

有人反馈windows有路径问题,把代码都放在一级目录下了。

避免抢购,程序自动一次只买一件

V2版本

请在configDemo.ini 加入商品id、地区id、cookie等参数 区分下单模式(默认2正常模式)

注意--极速模式默认清空购物车

正常模式下单流程(1.7秒左右)

  • 检测有货
  • 检测下柜
  • 加入购物车
  • 查看购物车
  • 下单

极速模式下单流程(1.4秒左右)

  • 检测有货
  • 加入购物车
  • 下单

V3版本(下单更快)

下单更快,但只能扫描单独一件商品

在配置文件configDemo.ini中,填写[V3]下面的skuid

注意--V3版本默认清空购物车

V3版本下单流程(1秒左右)

  • 提前加入购物车
  • 检测有货
  • 下单

exe版本(目前有点问题)

感谢Rlacat大佬 链接: https://pan.baidu.com/s/1FqZP39ow_CrsAn0DfeRJ2w 提取码: 97wb

温馨提示

  • 在京东购物车结算页面设置发票为电子普通发票-个人设置支付方式为在线支付
  • 地区id不知道如何获取的,请使用AreaTool.py获取

版本

  • python3

功能

  • 检查登录
  • 确认是否有货
  • 有货自动下单
  • 邮件、微信通知

更新记录

  • 【2020.02.09】部分下单需要验证码识别问题,部分bug优化。
  • 【2020.02.08】V2版本,区分下单模式,config中错别字,bug修复。
  • 【2020.02.07】V3版本,减少提交订单的请求量,总而言之就是更快(只能监控一件商品)。
  • 【2020.02.07】无货等情况下单失败不重试。
  • 【2020.02.07】新增微信通知(http://sc.ftqq.com/3.version 查看sc_key),bug修复。
  • 【2020.02.06】V2版本,刷新更快更频繁,通过配置文件添加商品和地区id。
  • 【2020.02.06】提交失败之后会继续不会暂停。
  • 【2020.02.06】购物车有套装商品导致解析skuid错误。
  • 【2020.02.05】商品有货,但是该商品已下柜,提交会报错,对部分代码进行了优化。

反馈问题

  • 如果有红包先花掉再开脚本,不然可能需要支付密码
  • 出现下单地址不是默认地址的,在线下一单,取getOrderInfo.action链接的cookie
  • CMD界面卡住、关闭CMD的快速编辑模式就行了

jdbuymask's People

Contributors

cycz 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.