All Projects → tychxn → Jd Assistant

tychxn / Jd Assistant

Licence: mit
京东抢购助手:包含登录,查询商品库存/价格,添加/清空购物车,抢购商品(下单),查询订单等功能

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Jd Assistant

mini-project
An android eCommerce application for students through which they can buy and sell used goods .
Stars: ✭ 26 (-99.4%)
Mutual labels:  buy
assister
Private Open General Assistant Platform
Stars: ✭ 42 (-99.03%)
Mutual labels:  assistant
Assistants Pi
Headless Google Assistant and Alexa on Raspberry Pi
Stars: ✭ 280 (-93.55%)
Mutual labels:  assistant
Home-Assistant-Main
My Home Assistant Configuration Be sure to ⭐ my repo so you can keep up to date on the daily progress!
Stars: ✭ 54 (-98.76%)
Mutual labels:  assistant
sauresha
Integrations Saures controller to HA
Stars: ✭ 26 (-99.4%)
Mutual labels:  assistant
Olivia
💁‍♀️Your new best friend powered by an artificial neural network
Stars: ✭ 3,114 (-28.31%)
Mutual labels:  assistant
Athena
A free and open source replacement for Google Assistant on Android devices, meant to integrate with the Sapphire Framework. It contains both speech-to-text and text-to-speech services. It does not require Google services or network connectivity
Stars: ✭ 73 (-98.32%)
Mutual labels:  assistant
Kibitzr
Personal Web Assistant
Stars: ✭ 358 (-91.76%)
Mutual labels:  assistant
Home Assistant EDP Box
Integração das EDP Box com Home Assistant Core
Stars: ✭ 91 (-97.91%)
Mutual labels:  assistant
Hasskit
HassKit is a Touch-Friendly - Zero Config App to help users instantly start using Home Assistant
Stars: ✭ 281 (-93.53%)
Mutual labels:  assistant
StageMate
StageMate is the smart assistant for your presentation. It will cover all aspects of your pitch from skipping slides to reminding you if you miss some major point.
Stars: ✭ 60 (-98.62%)
Mutual labels:  assistant
HomeAssistant
My Home Assistant Configuration
Stars: ✭ 71 (-98.37%)
Mutual labels:  assistant
Dstc8 Schema Guided Dialogue
The Schema-Guided Dialogue Dataset
Stars: ✭ 277 (-93.62%)
Mutual labels:  assistant
leon
🧠 Leon is your open-source personal assistant.
Stars: ✭ 8,560 (+97.05%)
Mutual labels:  assistant
Hey Athena Client
Your personal voice assistant
Stars: ✭ 336 (-92.27%)
Mutual labels:  assistant
awesome-ha-blueprints
A curated collection of automation blueprints for Home Assistant.
Stars: ✭ 258 (-94.06%)
Mutual labels:  assistant
Nutui
京东风格的移动端 Vue2、Vue3 组件库 (A Vue.js UI Toolkit for Mobile Web)
Stars: ✭ 3,870 (-10.91%)
Mutual labels:  jd
W.i.l.l
A python written personal assistant
Stars: ✭ 377 (-91.32%)
Mutual labels:  assistant
Flask Assistant
Framework for Building Virtual Assistants with Dialogflow and python
Stars: ✭ 358 (-91.76%)
Mutual labels:  assistant
Jjb
一个帮助你自动申请京东价格保护的chrome拓展
Stars: ✭ 3,083 (-29.03%)
Mutual labels:  jd

JD-Assistant

version status license star, issue

京东抢购助手(短期内不再更新)

主要功能

  • 登陆京东商城(www.jd.com
    • 手机扫码登录
    • 保存/加载登录cookies (可验证cookies是否过期)
  • 商品查询操作
    • 提供完整的地址⇔ID对应关系
    • 根据商品ID和地址ID查询库存
    • 根据商品ID查询价格
  • 购物车操作
    • 清空/添加购物车 (无货商品也可以加入购物车,预约商品无法加入)
    • 获取购物车商品详情
  • 订单操作
    • 获取订单结算页面信息 (商品详情, 应付总额, 收货地址, 收货人等)
    • 提交订单(使用默认地址)
      • 直接提交
      • 有货提交
      • 定时提交
    • 查询订单 (可选择只显示未付款订单)
  • 其他
    • 商品预约
    • 用户信息查询

运行环境

第三方库

安装:

pip install -r requirements.txt

使用教程

程序主入口在 main.py

👉 使用教程请参看Wiki

更新记录

  • 【2020.03.10】修复了一些小问题。
  • 【2020.02.08】修复了查询库存接口响应数据结构变化导致的问题。
  • 【2020.02.06】添加下单成功消息推送功能;新增配置参数以减少各种异常情况。
  • 【2020.02.03】查询商品库存方法添加超时,避免少数情况下的卡死问题;对部分代码进行了优化。
  • 【2020.02.02】重写了监控库存提交订单功能:监控多商品时可以下单任一有库存商品,具体使用方式请参考wiki。
  • 【2020.01.29】修复了自定义商品数量时的bug。
  • 【2020.01.28】完善了监控库存提交订单功能的代码,具体使用方式请参考wiki。
  • 【2020.01.24】修复了查询单个商品库存接口需要添加额外参数的问题。
  • 【2020.01.15】提升了部分代码质量。
  • 【2019.12.14】解决查询单个商品库存接口变动的问题。
  • 【2019.11.10】临时增加预约商品抢购功能。
  • 【2019.02.16】更新了普通商品的抢购代码,在Wiki中写了一份使用教程。
  • 【2018.11.29】京东更新了抢购商品的下单接口,代码已更新,支持定时抢购。
  • 【2018.09.26】京东已下线字符验证码接口,账号密码登录功能失效,请使用扫码登录asst.login_by_QRcode()
  • 【2018.07.28】京东已采用滑动验证码替换登录时出现的字符验证码,但还没有下线字符验证码接口,账号密码登录功能依旧可用。等待后续更新滑动验证方式,推荐使用扫码登录

备注

  • 🌟强烈建议大家在部署代码前使用有货的商品测试下单流程,并且:在京东购物车结算页面设置发票为电子普通发票-个人,设置支付方式为在线支付,否则可能出现各种未知的下单失败问题。🌟
  • 京东商城的登陆/下单机制经常改动,当前测试时间2020.02.08。如果失效,欢迎提issue,我会来更新。
  • 代码在macOS中编写,如果在其他平台上运行出行问题,欢迎提issue。

待完成的功能

  • Keep session alive
  • 抢优惠券

不考虑的功能

  • ✖️ 支付功能
  • ✖️ 多账号抢购

Sponsor

JetBrains

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].