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.

Updated docs

Jan Curn8708767b0c71
diff --git a/src/request_queue.js b/src/request_queue.js
index 63239c0a2..7510348f7 100644
--- a/src/request_queue.js
+++ b/src/request_queue.js
@@ -204,6 +204,10 @@ export class RequestQueue {
/**
* Adds a request to the queue.
*
+ * If the request with the same `Request.uniqueKey` property is already present in the queue,
+ * it will not be updated. You can find out this happened from the resulting
+ * {@linkcode RequestOperationInfo} object.
+ *
* @param {Request} request Request object
* @param {Object} [opts]
* @param {Boolean} [opts.forefront] If `true`, the request will be added to the foremost position in the queue.