node cheerio

146 阅读1分钟

使用如下

//cheerio也就是nodejs下的jQuery  将整个文档包装成一个集合,定义一个变量$接收
var $ = cheerio.load(content);