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 docs

Jan Curna8c6610df8b8
diff --git a/src/key_value_store.js b/src/key_value_store.js
index f757bc47b..4811f7ca3 100644
--- a/src/key_value_store.js
+++ b/src/key_value_store.js
@@ -610,13 +610,13 @@ export const openKeyValueStore = (storeIdOrName, options = {}) => {
* This is just a convenient shortcut for [`keyValueStore.getValue()`](keyvaluestore#KeyValueStore+getValue).
* For example, calling the following code:
* ```javascript
- * const input = await Apify.getValue('my-key');
+ * const value = await Apify.getValue('my-key');
* ```
*
* is equivalent to:
* ```javascript
* const store = await Apify.openKeyValueStore();
- * await store.getValue('my-key');
+ * const value = await store.getValue('my-key');
* ```
*
* To store the value to the default-key value store, you can use the [`Apify.setValue()`](#module_Apify.setValue) function.