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
Bugfix: native Promise doesn't have finally() function
Jan Curn144d0e8a2d3b
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 9dba55a44..dbb610b77 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -1,3 +1,7 @@+0.5.40 / 2018-07-04+===================+- Bugfix: native Promise doesn't have finally() function+0.5.39 / 2018-06-25===================- Parameter `maxRequestsPerCrawl` added to `BasicCrawler` and `PuppeteerCrawler` classes.diff --git a/src/basic_crawler.js b/src/basic_crawler.jsindex 4e97ef89c..d10f0cf17 100644--- a/src/basic_crawler.js+++ b/src/basic_crawler.js@@ -1,3 +1,4 @@+import Promise from 'bluebird';import { checkParamOrThrow } from 'apify-client/build/utils';import _ from 'underscore';import log from 'apify-shared/log';