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 TODOs
Jan Curn317be753f82e
diff --git a/src/request_queue.js b/src/request_queue.jsindex 1e17e39f2..077620281 100644--- a/src/request_queue.js+++ b/src/request_queue.js@@ -325,6 +325,7 @@ export class RequestQueue {* @return {Promise<QueueOperationInfo>}*/markRequestHandled(request) {+ // TODO: This function should also support object instead of Apify.Request()validateMarkRequestHandledParams(request);if (!this.requestIdsInProgress[request.id]) {@@ -363,6 +364,7 @@ export class RequestQueue {reclaimRequest(request, options = {}) {const { forefront } = validateReclaimRequestParams(request, options);+ // TODO: This function should also support object instead of Apify.Request()// TODO: If request hasn't been changed since the last getRequest(),// we don't need to call updateRequest() and thus improve performance.return requestQueues