Appearance
cheerio
通过类jquery的api操作方式处理网页数据爬取站点内容
jquery
api
const cheerio = require('cheerio') const $ = cheerio.load('<h2 class="title">Hello world</h2>'); $('h2.title').text('Hello there!'); $('h2').addClass('welcome'); $.html();