From f5af26f1200fd425958a83de991cc6b5a7cd6a87 Mon Sep 17 00:00:00 2001 From: Guillaume Schaer Date: Tue, 24 Sep 2024 12:09:49 +0200 Subject: [PATCH] fix: typo (#1221) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Martin Adámek --- sources/platform/actors/development/deployment/index.md | 2 +- sources/platform/storage/dataset.md | 6 +++--- sources/platform/storage/key_value_store.md | 4 ++-- sources/platform/storage/request_queue.md | 4 ++-- sources/platform/storage/usage.md | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/sources/platform/actors/development/deployment/index.md b/sources/platform/actors/development/deployment/index.md index 176258e92..21569b018 100644 --- a/sources/platform/actors/development/deployment/index.md +++ b/sources/platform/actors/development/deployment/index.md @@ -65,7 +65,7 @@ To deploy using other methods, first create the Actor manually through Apify CLI ![Actor source types](./images/actor-source-types.png) -You can link your anctor to a Git repository, Gist, or a Zip file. +You can link your Actor to a Git repository, Gist, or a Zip file. For more information on alternative source types, check out next chapter. diff --git a/sources/platform/storage/dataset.md b/sources/platform/storage/dataset.md index ef4fa942a..a54b377ee 100644 --- a/sources/platform/storage/dataset.md +++ b/sources/platform/storage/dataset.md @@ -17,7 +17,7 @@ import TabItem from '@theme/TabItem'; Dataset storage enables you to sequentially save and retrieve data. A unique dataset is automatically created and assigned to each Actor run when the first item is stored. -Typically, datasets comprises results from web scraping, crawling, and data processing jobs. You can visualize this data in a table, where each object is forming a row and its attributes are represented as columns. You have the option to export data in various formats, including JSON, CSV, XML, Excel, HTML Table, RSS or JSONL. +Typically, datasets comprise results from web scraping, crawling, and data processing jobs. You can visualize this data in a table, where each object is forming a row and its attributes are represented as columns. You have the option to export data in various formats, including JSON, CSV, XML, Excel, HTML Table, RSS or JSONL. > Named datasets are retained indefinitely.
> Unnamed datasets expire after 7 days unless otherwise specified.
> [Learn more](usage.md#named-and-unnamed-storages) @@ -57,7 +57,7 @@ If you are accessing your datasets using the `username~store-name` [store ID for > When providing your API authentication token, we recommend using the request's `Authorization` header, rather than the URL. ([More info](../integrations/programming/api.md#authentication)). -To retrieve a list of you datasets, send a GET request to the [Get list of datasets](/api/v2#/reference/datasets/get-list-of-datasets) endpoint. +To retrieve a list of your datasets, send a GET request to the [Get list of datasets](/api/v2#/reference/datasets/get-list-of-datasets) endpoint. ```text https://api.apify.com/v2/datasets @@ -87,7 +87,7 @@ To retrieve the `hotel` and `cafe` fields, you would send your GET request to th https://api.apify.com/v2/datasets/{DATASET_ID}/items?format=json&fields=hotel%2Ccafe ``` -> Use `%2C` instead of commas for URL encoding, as `%2C` represent a comma. For morn on URL encoding check out [this page](https://www.url-encode-decode.com) +> Use `%2C` instead of commas for URL encoding, as `%2C` represent a comma. For more on URL encoding check out [this page](https://www.url-encode-decode.com) To add data to a dataset, issue a POST request to the [Put items](/api/v2#/reference/datasets/item-collection/put-items) endpoint with the data as a JSON object payload. diff --git a/sources/platform/storage/key_value_store.md b/sources/platform/storage/key_value_store.md index cb0a829be..0303412bf 100644 --- a/sources/platform/storage/key_value_store.md +++ b/sources/platform/storage/key_value_store.md @@ -31,7 +31,7 @@ You can access key-value stores through several methods - [Apify Console](https://console.apify.com) - provides an easy-to-understand interface. - [Apify API](/api/v2#) - for accessing your key-value stores programmatically. - [Apify API clients](/api) - to access your key-value stores from any Node.js/Python application. -- [Apify SDKs](/sdk) - when building your own JavaScript/Pyhton Actor. +- [Apify SDKs](/sdk) - when building your own JavaScript/Python Actor. ### Apify Console @@ -248,7 +248,7 @@ Check out the [Python SDK documentation](/sdk/python/docs/concepts/storages#work ## Compression -Previously, when using the [Put record](/api/v2#/reference/key-value-stores/record/put-record) endpoint, every record was automatically compressed with Gzip before being uploaded. However, this process has been updated. _Now, record are stored exactly as you upload them._ This change means that it is up to you whether the record is stored compressed or uncompressed. +Previously, when using the [Put record](/api/v2#/reference/key-value-stores/record/put-record) endpoint, every record was automatically compressed with Gzip before being uploaded. However, this process has been updated. _Now, records are stored exactly as you upload them._ This change means that it is up to you whether the record is stored compressed or uncompressed. You can compress a record and use the [Content-Encoding request header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding) to let our platform know which compression it uses. We recommend compressing large key-value records to save storage space and network traffic. diff --git a/sources/platform/storage/request_queue.md b/sources/platform/storage/request_queue.md index d8e275b03..3b8726fce 100644 --- a/sources/platform/storage/request_queue.md +++ b/sources/platform/storage/request_queue.md @@ -15,7 +15,7 @@ import TabItem from '@theme/TabItem'; Request queues enable you to enqueue and retrieve requests such as URLs with an [HTTP method](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods) and other parameters. They prove essential not only in web crawling scenarios but also in any situation requiring the management of a large number of URLs and the addition of new links. -The storage system for request queues accomoodates both breadth-first and depth-first crawling strategies, along with the inclusion of custom data attributes. This system enables you to check if certain URLs have already been encountered, add new URLs to the queue, and retrieve the next set of URLs for processing. +The storage system for request queues accommodates both breadth-first and depth-first crawling strategies, along with the inclusion of custom data attributes. This system enables you to check if certain URLs have already been encountered, add new URLs to the queue, and retrieve the next set of URLs for processing. > Named request queues are retained indefinitely.
> Unnamed request queues expire after 7 days unless otherwise specified.
> [Learn more](./index.md#named-and-unnamed-storages) @@ -36,7 +36,7 @@ In the [Apify Console](https://console.apify.com), you can view your request que ![Request queues in app](./images/request-queue-app.png) To view a request queue, click on its **Queue ID**. -Under the **Actions** menu, you can rename your queue's name (and, in turn, its +Under the **Actions** menu, you can rename your queue (and, in turn, its [retention period](./usage#named-and-unnamed-storages)) and [access rights](../collaboration/index.md) using the **Share** button. Click on the **API** button to view and test a queue's [API endpoints](/api/v2#/reference/request-queues). diff --git a/sources/platform/storage/usage.md b/sources/platform/storage/usage.md index 49312633a..f57507b94 100644 --- a/sources/platform/storage/usage.md +++ b/sources/platform/storage/usage.md @@ -83,7 +83,7 @@ You can visit [API Clients](/api) documentations for more information. ### Apify SDKs -The Apify SDKs are libraries in JavaScript or Python that proviede tools for building your own Actors.
+The Apify SDKs are libraries in JavaScript or Python that provide tools for building your own Actors.
* JavaScript SDK requires [Node.js](https://nodejs.org/en/) 16 or later. * Python SDK requires [Python](https://www.python.org/downloads/release/python-380/) 3.8 or above. @@ -99,7 +99,7 @@ All API endpoints limit their rate of requests to protect Apify servers from ove [delete](/api/v2#/reference/request-queues/request-collection/delete-request)) operations of _request queue_ requests. -If a client exceeds this limit, the API endpoints responds with the HTTP status code `429 Too Many Requests` and the following body: +If a client exceeds this limit, the API endpoints respond with the HTTP status code `429 Too Many Requests` and the following body: ```json {