Cheerio Crawler Output

I want to know is there a way to preview the result of cheerio crawler like for example in puppeteer crawler we can set headless to false so that we can actually whether or not page is loading and our logic is working but what about Cheerio crawler is there any way to check that thanks
1 Reply
probable-pink
probable-pink2y ago
You can view the page with cheerio crawler by saving the content as HTML file:
const html = $.html();
await Actor.setValue('filename', html, { contentType: 'text/html' });
const html = $.html();
await Actor.setValue('filename', html, { contentType: 'text/html' });

Did you find this page helpful?