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
Fix typo
Ondra Urban7c58276374ed
diff --git a/src/crawlers/statistics.js b/src/crawlers/statistics.jsindex 9d1a00de5..606c67ef0 100644--- a/src/crawlers/statistics.js+++ b/src/crawlers/statistics.js@@ -28,7 +28,7 @@ export default class Statistics {} = options;checkParamOrThrow(logIntervalSecs, 'options.logIntervalSecs', 'Number');- checkParamOrThrow(logIntervalSecs, 'options.logMessage', 'String');+ checkParamOrThrow(logMessage, 'options.logMessage', 'String');this.logIntervalMillis = logIntervalSecs * 1000;this.logMessage = logMessage;