摘要: 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) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content 阅读全文
posted @ 2021-08-09 12:57 松岛川树 阅读(32) 评论(0) 推荐(0) 编辑
摘要: const e = document.createEvent("MouseEvents"); e.initEvent("click", true, true); document.querySelector(".box").dispatchEvent(e); 阅读全文
posted @ 2021-08-09 12:47 松岛川树 阅读(27) 评论(0) 推荐(1) 编辑
摘要: Centos安装命令: yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh 阅读全文
posted @ 2021-07-28 15:39 松岛川树 阅读(26) 评论(0) 推荐(0) 编辑
摘要: npx create-nuxt-app 项目名 阅读全文
posted @ 2021-07-24 10:08 松岛川树 阅读(9) 评论(0) 推荐(0) 编辑