Node 爬虫 打开网址后解析Html代码
引入cheerio和requestconst cheerio = require('cheerio');var request = require('request');request('网址', function (error, response, body) { let $ = cheerio.load(body); //解析Html代码 })...