apify / crawlee

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.
https://crawlee.dev
Apache License 2.0
15.47k stars 664 forks source link

Add default environment variables needed for local development to SDK #154

Closed mnmkng closed 6 years ago

mnmkng commented 6 years ago

Currently, many of environment variables such as APIFY_DEFAULT_REQUEST_QUEUE_ID or APIFY_LOCAL_EMULATION_DIR are set by apify-cli and therefore to run SDK scripts without CLI, one must manually set those (often more than 5) env vars.

We should move the defaults to SDK so that users are not forced to use CLI or manually define the env vars.

mtrunkat commented 6 years ago

Fixed in https://github.com/apifytech/apify-js/pull/161