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
refactor: change `Initializing the crawler` log to `Starting the crawler`
Martin Adámek654c4e73ce3e
diff --git a/packages/basic-crawler/src/internals/basic-crawler.ts b/packages/basic-crawler/src/internals/basic-crawler.tsindex 9c2ec5b67..c2df75a5b 100644--- a/packages/basic-crawler/src/internals/basic-crawler.ts+++ b/packages/basic-crawler/src/internals/basic-crawler.ts@@ -826,7 +826,7 @@ export class BasicCrawler<Context extends CrawlingContext = BasicCrawlingContextawait this._init();await this.stats.startCapturing();const periodicLogger = this.getPeriodicLogger();- await this.setStatusMessage(`Initializing the crawler.`, { level: 'INFO' });+ await this.setStatusMessage('Starting the crawler.', { level: 'INFO' });const sigintHandler = async () => {this.log.warning('Pausing... Press CTRL+C again to force exit. To resume, do: CRAWLEE_PURGE_ON_START=0 npm start');