摘要: // 引入https模块,由于我们爬取的网站采用的是https协议 const https = require('https'); // 引入cheerio模块,使用这个模块可以将爬取的网页源代码进行装载,然后使用类似jquery的语法去操作这些元素 // 在cheerio不是内置模块,需要使用包管 阅读全文
posted @ 2018-11-20 23:29 Kangchuijing 阅读(2480) 评论(0) 推荐(1)