@crawlee/browser 3.17.1-beta.79 → 3.17.1-beta.80

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -320,7 +320,9 @@ class BrowserCrawler extends basic_1.BasicCrawler {
320
320
  const contextEnqueueLinks = crawlingContext.enqueueLinks;
321
321
  crawlingContext.enqueueLinks = async (enqueueOptions) => {
322
322
  return browserCrawlerEnqueueLinks({
323
- options: { ...enqueueOptions, limit: this.calculateEnqueuedRequestLimit(enqueueOptions?.limit) },
323
+ // `contextEnqueueLinks` clamps `limit` by the remaining `maxRequestsPerCrawl` budget itself;
324
+ // pre-clamping it here would make the crawler log the internal limit as a user-provided one
325
+ options: enqueueOptions,
324
326
  page,
325
327
  requestQueue: await this.getRequestQueue(),
326
328
  robotsTxtFile: await this.getRobotsTxtFileForUrl(crawlingContext.request.url),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crawlee/browser",
3
- "version": "3.17.1-beta.79",
3
+ "version": "3.17.1-beta.80",
4
4
  "description": "The scalable web crawling and scraping library for JavaScript/Node.js. Enables development of data extraction and web automation jobs (not only) with headless Chrome and Puppeteer.",
5
5
  "engines": {
6
6
  "node": ">=16.0.0"
@@ -54,10 +54,10 @@
54
54
  },
55
55
  "dependencies": {
56
56
  "@apify/timeout": "^0.4.0",
57
- "@crawlee/basic": "3.17.1-beta.79",
58
- "@crawlee/browser-pool": "3.17.1-beta.79",
59
- "@crawlee/types": "3.17.1-beta.79",
60
- "@crawlee/utils": "3.17.1-beta.79",
57
+ "@crawlee/basic": "3.17.1-beta.80",
58
+ "@crawlee/browser-pool": "3.17.1-beta.80",
59
+ "@crawlee/types": "3.17.1-beta.80",
60
+ "@crawlee/utils": "3.17.1-beta.80",
61
61
  "ow": "^0.28.1",
62
62
  "tslib": "^2.4.0",
63
63
  "type-fest": "^4.0.0"
@@ -81,5 +81,5 @@
81
81
  }
82
82
  }
83
83
  },
84
- "gitHead": "267c92b57f2cc05380a2d8e0323fe9f1ee35b142"
84
+ "gitHead": "5b3c2d52f128643de6f515e87eeb531d55a187f0"
85
85
  }