Code Monkey home page Code Monkey logo

electron-puppeteer's Introduction

electron-puppeteer

这是一个将electron与puppeteer结合的项目,功能是类似于注册机之类的,并综合爬虫操作,当时靠这个卖钱了

技术栈

Vue2 + Electron + Puppeteer + element-ui + umy-ui

使用vue-cli-plugin-electron-builder插件将Vue项目扩展为electron项目 也可以使用simulatedgreg/electron-vue初始化项目,只是这个包有点年头没更新了...

微信图片编辑_20230517225955

主要有一些使用经验:

  • electron的基础使用,包括主进程和渲染进程之间的通信等
  • 反爬虫机制和爬虫自动化操作
  • 如何模拟网页操作以及如何解决登录验证之类的问题
  • 接口拦截,网页注入等hack操作

Project setup

npm install

chromium程序过大,可能要配置镜像下载

Compiles and hot-reloads for development

npm run electron:serve

Compiles and minifies for production

npm run electron:build

Lints and fixes files

npm run lint

electron-puppeteer's People

Contributors

lovelyjason avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

keyzf l1-j5n

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.