Code Monkey home page Code Monkey logo

damai's Introduction

介绍

死循环大麦抢票,不抢到不停下,抢到了也不停下来

开始

在项目根目录下
npm i -D
puppeteer安装不下来使用
npm i -D --registry=https://registry.npm.taobao.org
配置好参数
npm run start

config配置

配置文件位置:/config/index.js 建议processes配置小一点

配置项 介绍 类型 是否必填 默认值
pageUrl 抢票url,自行选择城市 string ---
perform 抢票日期 array ---
level 抢票价位 array ---
count 票数,不能大于6 number 4
processes 进程数 number 运行机器cpu核数
timeout 操作超时时间 number 300000
userInfo 大麦账号密码,自行填 object ---

damai's People

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.