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
improved log.
Petr Pateke7446bb02c70
diff --git a/src/autoscaling/snapshotter.js b/src/autoscaling/snapshotter.jsindex 0fce4c982..c8a18e3ec 100644--- a/src/autoscaling/snapshotter.js+++ b/src/autoscaling/snapshotter.js@@ -250,10 +250,7 @@ class Snapshotter {if (isCriticalOverload) {const usedPercentage = usedBytes / this.maxMemoryBytes * 100;const toMb = bytes => bytes / (1024 ** 2);- log.warning(- `Memory is critical overloaded.- Used ${toMb(usedBytes)} MB of ${toMb(this.maxMemoryBytes)} MB (${usedPercentage}%)`,- );+ log.warning(`Memory is critical overloaded. Used ${toMb(usedBytes)} MB of ${toMb(this.maxMemoryBytes)} MB (${usedPercentage}%)`);}} catch (e) {log.exception(e, 'Snapshotter: Memory leak warning failed.');