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.

fix: add `proxyUrl` to `DownloadListOfUrlsOptions`

Martin Adámek779be1e4f29d
diff --git a/packages/utils/src/internals/extract-urls.ts b/packages/utils/src/internals/extract-urls.ts
index 09556fa5d..412a64d78 100644
--- a/packages/utils/src/internals/extract-urls.ts
+++ b/packages/utils/src/internals/extract-urls.ts
@@ -20,6 +20,9 @@ export interface DownloadListOfUrlsOptions {
* @default URL_NO_COMMAS_REGEX
*/
urlRegExp?: RegExp;
+
+ /** Allows to use a proxy for the download request. */
+ proxyUrl?: string;
}
/**