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 issue

Ondra Urbanb02cf0636ccc
diff --git a/src/cheerio_crawler.js b/src/cheerio_crawler.js
index 7dab85b5f..3ca1493fc 100644
--- a/src/cheerio_crawler.js
+++ b/src/cheerio_crawler.js
@@ -201,7 +201,7 @@ export default class CheerioCrawler {
const $ = cheerio.load(html);
await Promise.race([
this.handlePageFunction({ $, html, request }),
- createTimeoutPromise(this.handlePageTimeoutSecs * 1000, 'CheerioCrawler: handlePageFunction timed out.')
+ createTimeoutPromise(this.handlePageTimeoutSecs * 1000, 'CheerioCrawler: handlePageFunction timed out.'),
]);
}