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.
TypeScript apifyautomationcrawlercrawlingheadlessheadless-chromejavascriptnodejsnpmplaywrightpuppeteerscraperscrapingtypescriptweb-crawlerweb-crawlingweb-scraping
Add handleRequestTimeout to CheerioCrawler
Ondra Urban918e56fb9d3d
diff --git a/src/cheerio_crawler.js b/src/cheerio_crawler.jsindex 68e8ec3b5..057ef440d 100644--- a/src/cheerio_crawler.js+++ b/src/cheerio_crawler.js@@ -258,6 +258,7 @@ class CheerioCrawler {maxRequestRetries,maxRequestsPerCrawl,handleRequestFunction: (...args) => this._handleRequestFunction(...args),+ handleRequestTimeoutSecs: handlePageTimeoutSecs * 2,handleFailedRequestFunction,// Autoscaled pool options.