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.

Merge branch 'master' into feature/request_as_browser_update

petrpatekfde1bff94840
diff --cc docs/api/utils.md
index c07b4689e,f12813c83..12ad0f83b
--- a/docs/api/utils.md
+++ b/docs/api/utils.md
@@@ -18,17 -18,16 +18,17 @@@ const Apify = require('apify')
await Apify.utils.sleep(1500);
```
- - [`utils`](#utils) : `object`
- - [`.enqueueLinks`](#utils.enqueueLinks) ⇒ `Promise<Array<QueueOperationInfo>>`
- - [`.requestAsBrowser`](#utils.requestAsBrowser) ⇒ `http.IncomingMessage`
- - [`.sleep`](#utils.sleep) ⇒ `Promise`
- - [`.URL_NO_COMMAS_REGEX`](#utils.URL_NO_COMMAS_REGEX)
- - [`.URL_WITH_COMMAS_REGEX`](#utils.URL_WITH_COMMAS_REGEX)
- - [`.isDocker()`](#utils.isDocker) ⇒ `Promise`
- - [`.downloadListOfUrls(options)`](#utils.downloadListOfUrls) ⇒ `Promise<Array<String>>`
- - [`.extractUrls(options)`](#utils.extractUrls) ⇒ `Array<String>`
- - [`.getRandomUserAgent()`](#utils.getRandomUserAgent) ⇒ `String`
- - [`.htmlToText(html)`](#utils.htmlToText) ⇒ `String`
+ - [`utils`](#utils) : `object`
+ - [`.enqueueLinks`](#utils.enqueueLinks) ⇒ `Promise<Array<QueueOperationInfo>>`
++ - [`.requestAsBrowser`](#utils.requestAsBrowser) ⇒ `http.IncomingMessage`
+ - [`.sleep`](#utils.sleep) ⇒ `Promise`
+ - [`.URL_NO_COMMAS_REGEX`](#utils.URL_NO_COMMAS_REGEX)
+ - [`.URL_WITH_COMMAS_REGEX`](#utils.URL_WITH_COMMAS_REGEX)
+ - [`.isDocker()`](#utils.isDocker) ⇒ `Promise`
+ - [`.downloadListOfUrls(options)`](#utils.downloadListOfUrls) ⇒ `Promise<Array<String>>`
+ - [`.extractUrls(options)`](#utils.extractUrls) ⇒ `Array<String>`
+ - [`.getRandomUserAgent()`](#utils.getRandomUserAgent) ⇒ `String`
+ - [`.htmlToText(html)`](#utils.htmlToText) ⇒ `String`
<a name="utils.enqueueLinks"></a>
diff --cc package.json
index fd25212df,51efd2d7e..9f89ec654
--- a/package.json
+++ b/package.json
@@@ -59,8 -58,8 +59,7 @@@
"express": "^4.16.4",
"fs-extra": "^8.0.1",
"htmlparser2": "^3.10.1",
- "iltorb": "^2.4.2",
"jquery": "^3.3.1",
- "jsdoc-to-markdown": "^5.0.0",
"mime": "^2.3.1",
"proxy-chain": "^0.2.5",
"request": "^2.88.0",