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
Added TODO
Jan Curn43bd3ffae56f
diff --git a/src/request_queue.js b/src/request_queue.jsindex e617cd020..1e17e39f2 100644--- a/src/request_queue.js+++ b/src/request_queue.js@@ -363,6 +363,8 @@ export class RequestQueue {reclaimRequest(request, options = {}) {const { forefront } = validateReclaimRequestParams(request, options);+ // TODO: If request hasn't been changed since the last getRequest(),+ // we don't need to call updateRequest() and thus improve performance.return requestQueues.updateRequest({request,