Giter VIP home page Giter VIP logo

jd_seckill_cli's Introduction

基于 puppteer 京东茅台抢购

介绍

使用 puppteer 自动化预约,抢购茅台

注意问题

问题1:京东Cookie的有效期

就我自己项目中的使用情况而言,一个月有效期。

问题2:京东Cookie填写方式

config.js文件中的cookie字段填写拷贝过来的cookie

问题2:配置密码

不配置密码会下单失败(config文件中设置password)

使用用法

  • git clone 项目;
  • 安装 nodejs
  • 命令行运行:npm install
  • 命令行运行:npm link 或者 sudo npm link
  • 成功之后可 命令行运行: jd_seckill_cli

获取京东cookie

  • 使用项目中的Chrome插件:JDCookie
  • Chrome中拓展程序开启开发者模式
  • 点击加载已解压的拓展程序,选择JDCookie目录;
  • 登录京东
  • 点击JDCookie即可拷贝京东cookie;

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.