草庐IT

jsonframe

全部标签

javascript - 使用 Cheerio 和 jsonframe 抓取时,获取 TypeError : selector. includes is not a function

我正在尝试使用以下代码废弃网站:constcheerio=require('cheerio');constjsonframe=require('jsonframe-cheerio');const$=cheerio.load('https://coinmarketcap.com/all/views/all/');jsonframe($);//initializestheplugin//exceptionhandlingprocess.on('uncaughtException',err=>console.error('uncaughtexception:',err))process.on