摘要: 解决方法 先打开 ~/.npmrc npm config edit 里做如下设置,配置淘宝镜像 registry=https://registry.npm.taobao.org sass_binary_site=https://npm.taobao.org/mirrors/node-sass/ ph 阅读全文
posted @ 2021-08-10 17:40 松岛川树 阅读(17) 评论(0) 推荐(0) 编辑
摘要: cheerio模块主要负责解析html 1.先安装模块 npm install --save cheerio 2.在service层创建新建spider.js /* * @FilePath:\app\service\spider.js */ 'use strict'; const Service = 阅读全文
posted @ 2021-08-10 09:09 松岛川树 阅读(20) 评论(0) 推荐(0) 编辑