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.

Publishing pushData documentation

Marek Trunkat597753f89747
diff --git a/package.json b/package.json
index 67ec5a630..4d9f60829 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "apify",
- "version": "0.4.43",
+ "version": "0.4.44",
"description": "Apify Actor runtime for JavaScript",
"main": "build/index.js",
"keywords": [
diff --git a/src/actor.js b/src/actor.js
index dcf48827c..cfcce0873 100644
--- a/src/actor.js
+++ b/src/actor.js
@@ -302,20 +302,19 @@ export const setValue = (key, value, options, callback = null) => {
};
/**
- * @ignore
* @memberof module:Apify
* @function
- * @description <p>Stores data (object or array of objects) in a dataset using the Apify API.
+ * @description <p>Stores object or an array of objects in the default dataset for the current act run using the Apify API
* The function has no result, but throws on invalid args or other errors.</p>
* <pre><code class="language-javascript">await Apify.pushData(data);</code></pre>
* <p>
- * By default, the data is stored in default dataset associated with this act.
+ * The data is stored in default dataset associated with this act.
* </p>
* <p>
* **IMPORTANT: Do not forget to use the `await` keyword when calling `Apify.pushData()`,
* otherwise the act process might finish before the data is stored!**
* </p>
- * @param {Object/Array} data Object or array of Objects containing data to by stored in the dataset
+ * @param {Object|Array} data Object or array of objects containing data to by stored in the dataset
* @param {Function} [callback] Optional callback. Function returns a promise if not provided.
* @returns {Promise} Returns a promise if `callback` was not provided.
*/