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.

Updated comments

drobnikj0389210cf106
diff --git a/src/crawlers/cheerio_crawler.js b/src/crawlers/cheerio_crawler.js
index 4b8341a89..4d48f3fb7 100644
--- a/src/crawlers/cheerio_crawler.js
+++ b/src/crawlers/cheerio_crawler.js
@@ -123,7 +123,7 @@ const DEFAULT_OPTIONS = {
* $: Cheerio, // the Cheerio object with parsed HTML
* body: String|Buffer // the request body of the web page
* request: Request,
- * contentType: Object, // Parsed content type
+ * contentType: Object, // Parsed `Content-Type` header
* response: Object // An instance of Node's http.IncomingMessage object,
* autoscaledPool: AutoscaledPool
* }