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.

Updated README

Jan Curn2b93eac0bab0
diff --git a/README.md b/README.md
index 26a284341..c50480f06 100644
--- a/README.md
+++ b/README.md
@@ -771,12 +771,22 @@ The following table shows the basic environment variables used by Apify SDK:
This feature is optional. You can use your own proxies or no proxies at all.
</td>
</tr>
+ <tr>
+ <td><code>APIFY_HEADLESS</code></td>
+ <td>
+ If set to <code>1</code>, web browsers launched by Apify SDK will run in the headless
+ mode. By default, this environment variable
+ is not set when developing the code locally and thus the browsers will run in headful mode,
+ in order to simplify debugging of your scraping code.
+ When running on the Apify cloud platform, <code>APIFY_HEADLESS</code> is set to <code>1</code>.
+ </td>
+ </tr>
<tr>
<td><code>APIFY_LOG_LEVEL</code></td>
<td>
- Specifies the Apify SDK log level, which can be one of the following values:
- `DEBUG`, `INFO`, `WARNING`, `SOFT_FAIL` and `ERROR`.
- By default, it is set to `INFO`, which means that `DEBUG` messages
+ Specifies the Apify SDK log level, which can be one of the following values (in order of severity):
+ <code>DEBUG</code>, <code>INFO</code>, <code>WARNING</code>, <code>SOFT_FAIL</code> and <code>ERROR</code>.
+ By default, the log level is set to <code>INFO</code>, which means that <code>DEBUG</code> messages
are not printed to console.
</td>
</tr>