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
Fixed docs
Jan Curn1853bd0f87d5
diff --git a/src/request_queue.js b/src/request_queue.jsindex 3a1cee0a2..66ba2fd0c 100644--- a/src/request_queue.js+++ b/src/request_queue.js@@ -251,7 +251,7 @@ export class RequestQueue {* Note that the function sets the `uniqueKey` and `id` fields to the passed object.* @param {Object} [options]* @param {Boolean} [options.forefront=false] If `true`, the request will be added to the foremost position in the queue.- * @return {QueueOperationInfo}+ * @return {Promise<QueueOperationInfo>}*/async addRequest(request, options = {}) {const { newRequest, forefront } = validateAddRequestParams(request, options);