Skip to content

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.

Better log messages

Jan Curn1c9d1dd1b93d
diff --git a/src/basic_crawler.js b/src/basic_crawler.js
index 71ba92769..be8deab98 100644
--- a/src/basic_crawler.js
+++ b/src/basic_crawler.js
@@ -196,8 +196,8 @@ class BasicCrawler {
if (isFinished) {
const reason = isFinishedFunction
- ? 'BasicCrawler: Crawler\'s custom isFinishedFunction() returned true, the Crawler will shut down.'
- : 'BasicCrawler: All the requests from request list and/or request queue have been processed, the Crawler will shut down.';
+ ? 'BasicCrawler: Crawler\'s custom isFinishedFunction() returned true, the crawler will shut down.'
+ : 'BasicCrawler: All the requests from request list and/or request queue have been processed, the crawler will shut down.';
log.info(reason);
}