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
Bug fix in docs
Lukáš Křivka952aa77900ee
diff --git a/src/request_queue.js b/src/request_queue.jsindex 63c43e69a..4f1aa8cea 100644--- a/src/request_queue.js+++ b/src/request_queue.js@@ -135,7 +135,7 @@ const getRequestId = (uniqueKey) => {* // Enqueue few requests* await queue.addRequest(new Apify.Request({ url: 'http://example.com/aaa'}));* await queue.addRequest(new Apify.Request({ url: 'http://example.com/bbb'}));- * await queue.addRequest(new Apify.Request({ url: 'http://example.com/foo/bar'}, { forefront: true }));+ * await queue.addRequest(new Apify.Request({ url: 'http://example.com/foo/bar'}), { forefront: true });** // Get requests from queue* const request1 = queue.fetchNextRequest();