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.

Add missing param to Docs

Ondra Urban8948ea17fa15
diff --git a/src/cheerio_crawler.js b/src/cheerio_crawler.js
index b25924491..88b59f04e 100644
--- a/src/cheerio_crawler.js
+++ b/src/cheerio_crawler.js
@@ -93,7 +93,8 @@ const DEFAULT_OPTIONS = {
* {
* $: Cheerio, // the Cheerio object with parsed HTML
* html: String // the raw HTML of the page
- * request: Request
+ * request: Request,
+ * response: Object // a response object with properties such as the HTTP status code
* }
* ```
* With the {@link Request} object representing the URL to crawl.