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.

improved message.

Petr Patek15e39b8f6a4a
diff --git a/src/crawlers/cheerio_crawler.js b/src/crawlers/cheerio_crawler.js
index d109fbc47..dc5cb1357 100644
--- a/src/crawlers/cheerio_crawler.js
+++ b/src/crawlers/cheerio_crawler.js
@@ -357,7 +357,7 @@ class CheerioCrawler {
const { dom, isXmlOrHtml, body, contentType, responseStream: response } = await addTimeoutToPromise(
this._requestFunction({ request }),
this.requestTimeoutMillis,
- `CheerioCrawler: request timed out after ${this.requestTimeoutMillis / 1000} seconds.\``,
+ `CheerioCrawler: request timed out after ${this.requestTimeoutMillis / 1000} seconds.`,
);
request.loadedUrl = response.url;