Skip to content

Crawlee—A web scraping and browser automation library for Node.js to build reliable crawlers. In JavaScript and TypeScript. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Puppeteer, Playwright, Cheerio, JSDOM, and raw HTTP. Both headful and headless mode. With proxy rotation.

Fix lint issues

Ondra Urbanc590881fd202
diff --git a/test/cheerio_crawler.js b/test/cheerio_crawler.js
index 8f289e595..4cbc237af 100644
--- a/test/cheerio_crawler.js
+++ b/test/cheerio_crawler.js
@@ -231,7 +231,7 @@ describe('CheerioCrawler', () => {
const opts = crawler._getRequestOptions(request);
headers.push(opts.headers);
// it needs to return something valid
- return { dom: {}, response: responseMock };;
+ return { dom: {}, response: responseMock };
};
await crawler.run();