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
README - fixing typo
Marek Trunkat4561b52e7ab0
diff --git a/src/utils.js b/src/utils.jsindex 69a191405..854fa64ef 100644--- a/src/utils.js+++ b/src/utils.js@@ -434,7 +434,7 @@ export const openRemoteStorage = async (idOrName, defaultIdEnvVar, RemoteClass,*/export const ensureTokenOrLocalStorageEnvExists = (storageName) => {if (!process.env[ENV_VARS.LOCAL_STORAGE_DIR] && !process.env[ENV_VARS.TOKEN]) {- throw new Error(`Cannot use ${storageName} as neither ${ENV_VARS.LOCAL_STORAGE_DIR} nor ${ENV_VARS.TOKEN} environment variable is set.`+ throw new Error(`Cannot use ${storageName} as neither ${ENV_VARS.LOCAL_STORAGE_DIR} nor ${ENV_VARS.TOKEN} environment variable is set. `+ `Configure ${ENV_VARS.LOCAL_STORAGE_DIR} to enable storage in local directory or ${ENV_VARS.TOKEN} to use Apify cloud for storages.`);}};