cheerio中文文档
, 'ul', '<ul id = "fruits">...</ul>');如果你需要自定义一些解析选项,你可以多传递一个对象给load方法:$ = cheerio.load('<ul id = "fruits">...</ul>', { ignoreWhitespace: true, xmlMode: true});更多的解析选项可以参考domhandler和parser-options2. 选择器(selectors)cheerio的选择器几乎和jQuery一模一样,所以语法上十分相像$( selector, [context], [root] )selector在conte