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 develop, resolve conflicts

Ondra Urbanbd59d73e9ed1
diff --cc CHANGELOG.md
index a3957865d,1ac93798c..9707511f7
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@@ -1,12 -1,6 +1,18 @@@
+xxx
+===================
+- **BREAKING CHANGE:** Added `puppeteerOperationTimeoutSecs` option to `PuppeteerPool`.
+ It defaults to 15 seconds and all Puppeteer operations such as `browser.newPage()`
+ or `puppeteer.launch()` will now time out. This is to prevent hanging requests.
+- **BREAKING CHANGE:** Added `handleRequestTimeoutSecs` option to `BasicCrawler` with a 60 second default.
++- **DEPRECATED:** `PuppeteerPool` options in the `PuppeteerCrawler` constructor are now deprecated.
++ Please use the new `puppeteerPoolOptions` argument of type `Object` to pass them. `launchPuppeteerFunction`
++ and `launchPuppeteerOptions` are still available as shortcuts for convenience.
+- `CheerioCrawler` and `PuppeteerCrawler` now automatically set `handleRequestTimeoutSecs` to double of
+ `handlePageTimeoutSecs`.
- - `puppeteerPool.newPage()` now retries twice before throwing an error.
++
+ 0.12.4 / 2019-03-05
+ ===================
+ - Parameters `input` and `options` added to `Apify.callTask()`.
0.12.2 / 2019-02-27
===================