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
Improve proxy error message [skip ci]
Ondra Urbanc238692e6f64
diff --git a/src/proxy_configuration.js b/src/proxy_configuration.jsindex cfd35517a..bfd7b822c 100644--- a/src/proxy_configuration.js+++ b/src/proxy_configuration.js@@ -310,7 +310,8 @@ export class ProxyConfiguration {}}if (!this.password) {- throw new Error(`Apify Proxy password must be provided using options.password or the "${ENV_VARS.PROXY_PASSWORD}" environment variable!`);+ throw new Error(`Apify Proxy password must be provided using options.password or the "${ENV_VARS.PROXY_PASSWORD}" environment variable.`+ + `If you add the "${ENV_VARS.TOKEN}" environment variable, the password will be automatically inferred.`);}}