Skip to content

Commit

Permalink
Better docs for additionalMimeTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
jancurn committed Feb 12, 2020
1 parent 1b78219 commit cc66418
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/crawlers/cheerio_crawler.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit cc66418

Please sign in to comment.