A Mpvue project
实现一个简单的 爬虫
用mpvue与node实现一个获取豆瓣信息的爬虫功能。总共有几个步骤 1. 用小程序的扫码api,获取二维码的图书ID值; 2. 将其上传到本地server端,用node的https模块进行豆瓣信息的爬取; 3. 将获取的图书豆瓣信息写入到数据库中。
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report