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.

Update actor.js

davidjohnbartoncc7974ddbd2e
diff --git a/src/actor.js b/src/actor.js
index a7ce648e1..cd8a880f8 100644
--- a/src/actor.js
+++ b/src/actor.js
@@ -65,7 +65,7 @@ const tryParseDate = (str) => {
* ```
* For the list of the `APIFY_XXX` environment variables, see
* <a href="http://localhost/docs/actor.php#run-env-vars" target="_blank">Actor documentation</a>.
- * If some of the variables is not defined or is invalid, the corresponding value in the resulting object will be null.
+ * If some of the variables are not defined or are invalid, the corresponding value in the resulting object will be null.
*
* @returns {Object}
*
@@ -124,7 +124,7 @@ export const getEnv = () => {
* });
* ```
*
- * If the user function returns a promise, it is considered as asynchronous:
+ * If the user function returns a promise, it is considered asynchronous:
* ```javascript
* const request = require('request-promise');
*