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
Removing unneeded code
Marek Trunkat3a1cf0503d9c
diff --git a/src/request_queue.js b/src/request_queue.jsindex e07e5044f..63239c0a2 100644--- a/src/request_queue.js+++ b/src/request_queue.js@@ -752,7 +752,6 @@ export class RequestQueueLocal {}this.requestIdToQueueOrderNo[request.id] = newQueueOrderNo;- this.queueOrderNoInProgress[newQueueOrderNo] = true;// NOTE: First write to old file and then rename to new one to do the operation atomically.// Situation where two files exists at the same time may cause race condition bugs.@@ -761,7 +760,6 @@ export class RequestQueueLocal {.then(() => {this.inProgressCount--;delete this.queueOrderNoInProgress[oldQueueOrderNo];- delete this.queueOrderNoInProgress[newQueueOrderNo];return {requestId: request.id,