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 retryHistogram for RequestList when URL is the same
metalwarrior665e33cd25cfb45
diff --git a/src/crawlers/basic_crawler.js b/src/crawlers/basic_crawler.jsindex 312e0e4e9..9c14a580e 100644--- a/src/crawlers/basic_crawler.js+++ b/src/crawlers/basic_crawler.js@@ -344,7 +344,7 @@ class BasicCrawler {// Reset loadedUrl so an old one is not carried over to retries.request.loadedUrl = null;- const statisticsId = request.id || request.url;+ const statisticsId = request.id || request.uniqueKey;this.stats.startJob(statisticsId);try {await addTimeoutToPromise(