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
Better docs for additionalMimeTypes
Jan Curncc664186691f
diff --git a/src/crawlers/cheerio_crawler.js b/src/crawlers/cheerio_crawler.jsindex bdb879f45..d66d484ca 100644--- a/src/crawlers/cheerio_crawler.js+++ b/src/crawlers/cheerio_crawler.js@@ -189,8 +189,8 @@ const DEFAULT_OPTIONS = {* for the default implementation of this function.* @property {String[]} [additionalMimeTypes]* An array of <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Complete_list_of_MIME_types"- * target="_blank">mime types</a> you want to process.- * By default `text/html`, `application/xhtml+xml` mime types are supported.+ * target="_blank">MIME types</a> you want the crawler to load and process.+ * By default, only `text/html` and `application/xhtml+xml` MIME types are supported.* @property {Number} [maxRequestRetries=3]* Indicates how many times the request is retried if either `requestFunction` or `handlePageFunction` fails.* @property {Number} [maxRequestsPerCrawl]