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.

[fix]Fixed broken and deprecated SDK links

apienx4b81132a7fce
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f829d1b98..bfe5865f9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -700,7 +700,7 @@ There are new options `body` and `contentType` in `handlePageFunction` for this
0.5.7 / 2018-03-06
==================
-- A lot of new stuff. Everything is backwards compatible. Check https://apify.com/docs/sdk/apify-runtime-js/latest for reference
+- A lot of new stuff. Everything is backwards compatible. Check https://sdk.apify.com/ for reference
0.5.0 / 2018-02-08
===================
diff --git a/README.md b/README.md
index e4128595f..cb6900fba 100644
--- a/README.md
+++ b/README.md
@@ -11,7 +11,7 @@ to maintain queues of URLs to crawl, store crawling results to a local filesyste
rotate proxies and much more.
The SDK is available as the <a href="https://www.npmjs.com/package/apify" target="_blank"><code>apify</code></a> NPM package.
It can be used either stand-alone in your own applications
-or in <a href="https://apify.com/docs/actor" target="_blank">actors</a>
+or in <a href="https://docs.apify.com/actor" target="_blank">actors</a>
running on the <a href="https://apify.com/" target="_blank">Apify Cloud</a>.
**View full documentation, guides and examples on the dedicated <a href="https://sdk.apify.com" target="_blank">Apify SDK project website</a>**
@@ -206,7 +206,7 @@ apify push
```
Your script will be uploaded to the Apify Cloud and built there so that it can be run. For more information, view the
-<a href="https://apify.com/docs/cli" target="_blank">Apify CLI</a> and <a href="https://apify.com/docs/actor" target="_blank">Apify Actor</a>
+<a href="https://docs.apify.com/cli" target="_blank">Apify CLI</a> and <a href="https://docs.apify.com/actor" target="_blank">Apify Actor</a>
documentation.
### Usage on the Apify Cloud
@@ -215,7 +215,7 @@ You can also develop your web scraping project in an online code editor directly
You'll need to have an Apify Account. Go to <a href="https://my.apify.com/actors" target="_blank">Actors</a>, page in the app, click <i>Create new</i>
and then go to the <i>Source</i> tab and start writing your code or paste one of the examples from the Examples section.
-For more information, view the <a href="https://apify.com/docs/actor#quick-start" target="_blank">Apify actors quick start guide</a>.
+For more information, view the <a href="https://docs.apify.com/actor/quick-start" target="_blank">Apify actors quick start guide</a>.
## Support
diff --git a/docs/api/Apify.md b/docs/api/Apify.md
index e70a41071..28b5e0bd8 100644
--- a/docs/api/Apify.md
+++ b/docs/api/Apify.md
@@ -36,7 +36,7 @@ separate, detailed, documentation pages accessible from the left sidebar.
## `Apify.addWebhook(options)` ⇒ `Promise<Object>`
Creates an ad-hoc webhook for the current actor run, which lets you receive a notification when the actor run finished or failed. For more information
-about Apify actor webhooks, please see the <a href="https://apify.com/docs/webhooks" target="_blank">documentation</a>.
+about Apify actor webhooks, please see the <a href="https://docs.apify.com/webhooks" target="_blank">documentation</a>.
Note that webhooks are only supported for actors running on the Apify platform. In local environment, the function will print a warning and have no
effect.
@@ -60,7 +60,7 @@ effect.
</tr>
<tr>
<td colspan="3"><p>Array of event types, which you can set for actor run, see
- the <a href="https://apify.com/docs/webhooks#events-actor-run" target="_blank">actor run events</a> in the Apify doc.</p>
+ the <a href="https://docs.apify.com/webhooks/events#actor-run" target="_blank">actor run events</a> in the Apify doc.</p>
</td></tr><tr>
<td><code>options.requestUrl</code></td><td><code>string</code></td>
</tr>
@@ -73,9 +73,9 @@ effect.
<td colspan="3"><p>Payload template is a JSON-like string that describes the structure of the webhook POST request payload.
It uses JSON syntax, extended with a double curly braces syntax for injecting variables <code>{{variable}}</code>.
Those variables are resolved at the time of the webhook&#39;s dispatch, and a list of available variables with their descriptions
- is available in the <a href="https://apify.com/docs/webhooks" target="_blank">Apify webhook documentation</a>.</p>
+ is available in the <a href="https://docs.apify.com/webhooks" target="_blank">Apify webhook documentation</a>.</p>
<p> When omitted, the default payload template will be used.
- <a href="https://apify.com/docs/webhooks" target="_blank">See the docs for the default payload template</a>.</p>
+ <a href="https://docs.apify.com/webhooks" target="_blank">See the docs for the default payload template</a>.</p>
</td></tr><tr>
<td><code>[options.idempotencyKey]</code></td><td><code>string</code></td>
</tr>
@@ -101,7 +101,7 @@ actor run fails, the function throws the [`ApifyCallError`](../typedefs/apifycal
If you want to run an actor task rather than an actor, please use the [`Apify.callTask()`](../api/apify#module_Apify.callTask) function instead.
-For more information about actors, read the <a href="https://apify.com/docs/actor" target="_blank">documentation</a>.
+For more information about actors, read the <a href="https://docs.apify.com/actor" target="_blank">documentation</a>.
**Example usage:**
@@ -197,7 +197,7 @@ actor</a> and several other API endpoints to obtain the output.
<tr>
<td colspan="3"><p>Specifies optional webhooks associated with the actor run, which can be used
to receive a notification e.g. when the actor finished or failed, see
- <a href="https://apify.com/docs/webhooks#adhoc">ad hook webhooks documentation</a> for detailed description.</p>
+ <a href="https://docs.apify.com/webhooks/ad-hoc-webhooks">ad hook webhooks documentation</a> for detailed description.</p>
</td></tr></tbody>
</table>
<a name="module_Apify.callTask"></a>
@@ -216,7 +216,7 @@ actor run failed, the function fails with [`ApifyCallError`](../typedefs/apifyca
Note that an actor task is a saved input configuration and options for an actor. If you want to run an actor directly rather than an actor task,
please use the [`Apify.call()`](../api/apify#module_Apify.call) function instead.
-For more information about actor tasks, read the [`documentation`](https://apify.com/docs/tasks).
+For more information about actor tasks, read the [`documentation`](https://docs.apify.com/tasks).
**Example usage:**
@@ -303,20 +303,20 @@ obtain the output.
<tr>
<td colspan="3"><p>Specifies optional webhooks associated with the actor run, which can be used
to receive a notification e.g. when the actor finished or failed, see
- <a href="https://apify.com/docs/webhooks#adhoc">ad hook webhooks documentation</a> for detailed description.</p>
+ <a href="https://docs.apify.com/webhooks/ad-hoc-webhooks">ad hook webhooks documentation</a> for detailed description.</p>
</td></tr></tbody>
</table>
<a name="module_Apify.client"></a>
## `Apify.client`
-Gets the default instance of the `ApifyClient` class provided <a href="https://apify.com/docs/sdk/apify-client-js/latest"
+Gets the default instance of the `ApifyClient` class provided <a href="https://docs.apify.com/api/apify-client-js/latest"
target="_blank">apify-client</a> by the NPM package. The instance is created automatically by the Apify SDK and it is configured using the
`APIFY_API_BASE_URL`, `APIFY_USER_ID` and `APIFY_TOKEN` environment variables.
The instance is used for all underlying calls to the Apify API in functions such as [`Apify.getValue()`](#module_Apify.getValue) or
[`Apify.call()`](#module_Apify.call). The settings of the client can be globally altered by calling the
-<a href="https://apify.com/docs/sdk/apify-client-js/latest#ApifyClient-setOptions"
+<a href="https://docs.apify.com/api/apify-client-js/latest#ApifyClient-setOptions"
target="_blank">`Apify.client.setOptions()`</a> function. Beware that altering these settings might have unintended effects on the entire Apify SDK
package.
@@ -394,7 +394,7 @@ Constructs an Apify Proxy URL using the specified settings. The proxy URL can be
applications.
For more information, see the <a href="https://my.apify.com/proxy" target="_blank">Apify Proxy</a> page in the app or the
-<a href="https://apify.com/docs/proxy" target="_blank">documentation</a>.
+<a href="https://docs.apify.com/proxy" target="_blank">documentation</a>.
**Returns**: `String` - Returns the proxy URL, e.g. `http://auto:[email protected]:8000`.
@@ -484,7 +484,7 @@ Returns a new object which contains information parsed from all the `APIFY_XXX`
}
```
-For the list of the `APIFY_XXX` environment variables, see <a href="https://apify.com/docs/actor#run-env-vars" target="_blank">Actor
+For the list of the `APIFY_XXX` environment variables, see <a href="https://docs.apify.com/actor/run#environment-variables" target="_blank">Actor
documentation</a>. If some of the variables are not defined or are invalid, the corresponding value in the resulting object will be null.
<a name="module_Apify.getInput"></a>
@@ -611,7 +611,7 @@ The `launchPuppeteer()` function alters the following Puppeteer options:
</li>
<li>
If <code>options.useApifyProxy</code> is <code>true</code> then the function generates a URL of
- <a href="https://apify.com/docs/proxy" target="_blank">Apify Proxy</a>
+ <a href="https://docs.apify.com/proxy" target="_blank">Apify Proxy</a>
based on <code>options.apifyProxyGroups</code> and <code>options.apifyProxySession</code> and passes it as <code>options.proxyUrl</code>.
</li>
<li>
@@ -628,7 +628,7 @@ The `launchPuppeteer()` function alters the following Puppeteer options:
To use this function, you need to have the <a href="https://www.npmjs.com/package/puppeteer" target="_blank">puppeteer</a> NPM package installed in
your project. When running on the Apify cloud, you can achieve that simply by using the `apify/actor-node-chrome` base Docker image for your actor -
-see <a href="https://apify.com/docs/actor#base-images" target="_blank">Apify Actor documentation</a> for details.
+see <a href="https://docs.apify.com/actor/build#base-images" target="_blank">Apify Actor documentation</a> for details.
For an example of usage, see the [Synchronous run Example](../examples/synchronousrun) or the
[Puppeteer proxy Example](../examples/puppeteerwithproxy)
diff --git a/docs/api/CheerioCrawler.md b/docs/api/CheerioCrawler.md
index d14eae6bd..55979c92d 100644
--- a/docs/api/CheerioCrawler.md
+++ b/docs/api/CheerioCrawler.md
@@ -196,13 +196,13 @@ The exceptions are logged to the request using the
<tr>
<td colspan="3"><p>If set to <code>true</code>, <code>CheerioCrawler</code> will be configured to use
<a href="https://my.apify.com/proxy" target="_blank">Apify Proxy</a> for all connections.
- For more information, see the <a href="https://apify.com/docs/proxy" target="_blank">documentation</a></p>
+ For more information, see the <a href="https://docs.apify.com/proxy" target="_blank">documentation</a></p>
</td></tr><tr>
<td><code>[options.apifyProxyGroups]</code></td><td><code>Array<String></code></td><td></td>
</tr>
<tr>
<td colspan="3"><p>An array of proxy groups to be used
- by the <a href="https://apify.com/docs/proxy" target="_blank">Apify Proxy</a>.
+ by the <a href="https://docs.apify.com/proxy" target="_blank">Apify Proxy</a>.
Only applied if the <code>useApifyProxy</code> option is <code>true</code>.</p>
</td></tr><tr>
<td><code>[options.apifyProxySession]</code></td><td><code>String</code></td><td></td>
diff --git a/docs/api/Dataset.md b/docs/api/Dataset.md
index 33ed8c46f..c2449d8d5 100644
--- a/docs/api/Dataset.md
+++ b/docs/api/Dataset.md
@@ -25,7 +25,7 @@ Note that `{DATASET_ID}` is the name or ID of the dataset. The default dataset h
item in the dataset.
If the `APIFY_TOKEN` environment variable is set but `APIFY_LOCAL_STORAGE_DIR` not, the data is stored in the
-<a href="https://apify.com/docs/storage#dataset" target="_blank">Apify Dataset</a> cloud storage. Note that you can force usage of the cloud storage
+<a href="https://docs.apify.com/storage/dataset" target="_blank">Apify Dataset</a> cloud storage. Note that you can force usage of the cloud storage
also by passing the `forceCloud` option to [`Apify.openDataset()`](apify#module_Apify.openDataset) function, even if the `APIFY_LOCAL_STORAGE_DIR`
variable is set.
@@ -229,7 +229,7 @@ Returns items in the dataset based on the provided parameters. The returned obje
Returns an object containing general information about the dataset.
The function returns the same object as the Apify API Client's
-[getDataset](https://apify.com/docs/api/apify-client-js/latest#ApifyClient-datasets-getDataset) function, which in turn calls the
+[getDataset](https://docs.apify.com/api/apify-client-js/latest#ApifyClient-datasets-getDataset) function, which in turn calls the
[Get dataset](https://apify.com/docs/api/v2#/reference/datasets/dataset/get-dataset) API endpoint.
**Example:**
diff --git a/docs/api/KeyValueStore.md b/docs/api/KeyValueStore.md
index 94cb88ece..f0c6c7805 100644
--- a/docs/api/KeyValueStore.md
+++ b/docs/api/KeyValueStore.md
@@ -32,7 +32,7 @@ Note that `{STORE_ID}` is the name or ID of the key-value store. The default key
data value.
If the `APIFY_TOKEN` environment variable is set but `APIFY_LOCAL_STORAGE_DIR` not, the data is stored in the
-<a href="https://apify.com/docs/storage#key-value-store" target="_blank">Apify Key-value store</a> cloud storage. Note that you can force usage of the
+<a href="https://docs.apify.com/storage/key-value-store" target="_blank">Apify Key-value store</a> cloud storage. Note that you can force usage of the
cloud storage also by passing the `forceCloud` option to [`Apify.openKeyValueStore()`](apify#module_Apify.openKeyValueStore) function, even if the
`APIFY_LOCAL_STORAGE_DIR` variable is set.
diff --git a/docs/api/RequestQueue.md b/docs/api/RequestQueue.md
index b9f71ae8c..4ca8ed6a4 100644
--- a/docs/api/RequestQueue.md
+++ b/docs/api/RequestQueue.md
@@ -33,7 +33,7 @@ Note that `{QUEUE_ID}` is the name or ID of the request queue. The default queue
`handled` or `pending`, and `{NUMBER}` is an integer indicating the position of the request in the queue.
If the `APIFY_TOKEN` environment variable is set but `APIFY_LOCAL_STORAGE_DIR` not, the data is stored in the
-<a href="https://apify.com/docs/storage#queue" target="_blank">Apify Request Queue</a> cloud storage. Note that you can force usage of the cloud
+<a href="https://docs.apify.com/storage/request-queue" target="_blank">Apify Request Queue</a> cloud storage. Note that you can force usage of the cloud
storage also by passing the `forceCloud` option to [`Apify.openRequestQueue()`](apify#module_Apify.openRequestQueue) function, even if the
`APIFY_LOCAL_STORAGE_DIR` variable is set.
@@ -240,7 +240,7 @@ const { handledRequestCount } = await queue.getInfo();
Returns an object containing general information about the request queue.
The function returns the same object as the Apify API Client's
-[getQueue](https://apify.com/docs/api/apify-client-js/latest#ApifyClient-requestQueues-getQueue) function, which in turn calls the
+[getQueue](https://docs.apify.com/api/apify-client-js/latest#ApifyClient-requestQueues) function, which in turn calls the
[Get request queue](https://apify.com/docs/api/v2#/reference/request-queues/queue/get-request-queue) API endpoint.
**Example:**
diff --git a/docs/examples/PuppeteerWithProxy.md b/docs/examples/PuppeteerWithProxy.md
index e7805ac6b..5a1e57a25 100644
--- a/docs/examples/PuppeteerWithProxy.md
+++ b/docs/examples/PuppeteerWithProxy.md
@@ -3,7 +3,7 @@ id: puppeteerwithproxy
title: Puppeteer With Proxy
---
-This example demonstrates how to load pages in headless Chrome / Puppeteer over <a href="https://apify.com/docs/proxy" target="_blank">Apify
+This example demonstrates how to load pages in headless Chrome / Puppeteer over <a href="https://docs.apify.com/proxy" target="_blank">Apify
Proxy</a>. To make it work, you'll need an Apify Account that has access to the proxy. The proxy password is available on the
<a href="https://my.apify.com/proxy" target="_blank">Proxy</a> page in the app. Just set it to the `APIFY_PROXY_PASSWORD`
[environment variable](../guides/environmentvariables) or run the script using the CLI.
diff --git a/docs/examples/Screenshots.md b/docs/examples/Screenshots.md
index 2cde1e444..08eb91f16 100644
--- a/docs/examples/Screenshots.md
+++ b/docs/examples/Screenshots.md
@@ -16,7 +16,7 @@ In local configuration, the input is stored in the default key-value store's dir
On the Apify cloud, the input can be either set manually in the UI app or passed as the POST payload to the
<a href="https://apify.com/docs/api/v2#/reference/actors/run-collection/run-actor" target="_blank">Run actor API call</a>. For more details, see
-<a href="https://apify.com/docs/actor#input-output" target="_blank">Input and output</a> in the Apify Actor documentation.
+<a href="https://docs.apify.com/actor/run#input-and-output" target="_blank">Input and output</a> in the Apify Actor documentation.
To run this example on the Apify Platform, select the `Node.js 10 + Chrome on Debian (apify/actor-node-chrome)` base image on the source tab of your
actor configuration.
diff --git a/docs/guides/data_storage.md b/docs/guides/data_storage.md
index eda2a8060..544e2e31d 100644
--- a/docs/guides/data_storage.md
+++ b/docs/guides/data_storage.md
@@ -14,7 +14,7 @@ code changes are needed.
**Related links**
-- <a href="https://apify.com/docs/storage" target="_blank">Apify cloud storage documentation</a>
+- <a href="https://docs.apify.com/storage" target="_blank">Apify cloud storage documentation</a>
- <a href="https://my.apify.com/storage" target="_blank">View storage in Apify app</a>
- <a href="https://apify.com/docs/api/v2#/reference/key-value-stores" target="_blank">API reference</a>
diff --git a/docs/guides/environment_variables.md b/docs/guides/environment_variables.md
index b5f3130d4..72069b7cf 100644
--- a/docs/guides/environment_variables.md
+++ b/docs/guides/environment_variables.md
@@ -36,7 +36,7 @@ The following table shows the basic environment variables used by Apify SDK:
<tr>
<td><code>APIFY_PROXY_PASSWORD</code></td>
<td>
- Optional password to <a href="https://apify.com/docs/proxy" target="_blank">Apify Proxy</a> for IP address rotation.
+ Optional password to <a href="https://docs.apify.com/proxy" target="_blank">Apify Proxy</a> for IP address rotation.
If you have have an Apify Account, you can find the password on the
<a href="https://my.apify.com/proxy" target="_blank">Proxy page</a> in the Apify app.
This feature is optional. You can use your own proxies or no proxies at all.
diff --git a/docs/guides/getting_started.md b/docs/guides/getting_started.md
index de7624376..3503c9502 100644
--- a/docs/guides/getting_started.md
+++ b/docs/guides/getting_started.md
@@ -119,7 +119,7 @@ the running actor. Feel free to check out the other **Run** tabs, such as **Info
**Key-value-store**, where the actor's **INPUT** and **OUTPUT** are stored.
Good job. You're now ready to run your own source code on the Apify Platform. For more information visit the
-<a href="https://apify.com/docs/actor" target="_blank">Actor documentation page</a>, where you'll find everything about the platform's various
+<a href="https://docs.apify.com/actor" target="_blank">Actor documentation page</a>, where you'll find everything about the platform's various
options.
## First crawler
diff --git a/docs/guides/getting_started_quick.md b/docs/guides/getting_started_quick.md
index 993f6507c..7edd54d24 100644
--- a/docs/guides/getting_started_quick.md
+++ b/docs/guides/getting_started_quick.md
@@ -94,7 +94,7 @@ apify push
```
Your script will be uploaded to the Apify Cloud and built there so that it can be run. For more information, view the
-<a href="https://apify.com/docs/cli" target="_blank">Apify CLI</a> and <a href="https://apify.com/docs/actor" target="_blank">Apify Actor</a>
+<a href="https://docs.apify.com/cli" target="_blank">Apify CLI</a> and <a href="https://docs.apify.com/actor" target="_blank">Apify Actor</a>
documentation.
## Usage on the Apify Cloud
@@ -103,4 +103,4 @@ You can also develop your web scraping project in an online code editor directly
You'll need to have an Apify Account. Go to <a href="https://my.apify.com/actors" target="_blank">Actors</a>, page in the app, click <i>Create new</i>
and then go to the <i>Source</i> tab and start writing your code or paste one of the examples from the Examples section.
-For more information, view the <a href="https://apify.com/docs/actor#quick-start" target="_blank">Apify actors quick start guide</a>.
+For more information, view the <a href="https://docs.apify.com/actor/quick-start" target="_blank">Apify actors quick start guide</a>.
diff --git a/docs/guides/what_is_an_actor.md b/docs/guides/what_is_an_actor.md
index ca0ea0083..82f01103e 100644
--- a/docs/guides/what_is_an_actor.md
+++ b/docs/guides/what_is_an_actor.md
@@ -15,6 +15,6 @@ store and somebody uses it, it runs under their account, not yours.
**Related links**
- <a href="https://apify.com/store" target="_blank">Store of existing actors</a>
-- <a href="https://apify.com/docs/actor" target="_blank">Documentation</a>
+- <a href="https://docs.apify.com/actor" target="_blank">Documentation</a>
- <a href="https://my.apify.com/actors" target="_blank">View actors in Apify app</a>
- <a href="https://apify.com/docs/api/v2#/reference/actors" target="_blank">API reference</a>
diff --git a/docs/readme/introduction.md b/docs/readme/introduction.md
index 41153fc6b..33e50003a 100644
--- a/docs/readme/introduction.md
+++ b/docs/readme/introduction.md
@@ -11,7 +11,7 @@ to maintain queues of URLs to crawl, store crawling results to a local filesyste
rotate proxies and much more.
The SDK is available as the <a href="https://www.npmjs.com/package/apify" target="_blank"><code>apify</code></a> NPM package.
It can be used either stand-alone in your own applications
-or in <a href="https://apify.com/docs/actor" target="_blank">actors</a>
+or in <a href="https://docs.apify.com/actor" target="_blank">actors</a>
running on the <a href="https://apify.com/" target="_blank">Apify Cloud</a>.
**View full documentation, guides and examples on the dedicated <a href="https://sdk.apify.com" target="_blank">Apify SDK project website</a>**
diff --git a/docs/typedefs/ActorRun.md b/docs/typedefs/ActorRun.md
index 571bffacc..4e8b4870e 100644
--- a/docs/typedefs/ActorRun.md
+++ b/docs/typedefs/ActorRun.md
@@ -8,7 +8,7 @@ title: ActorRun
Represents information about an actor run, as returned by the [`Apify.call()`](../api/apify#module_Apify.call) or
[`Apify.callTask()`](../api/apify#module_Apify.callTask) function. The object is almost equivalent to the JSON response of the
<a href="https://apify.com/docs/api/v2#/reference/actors/run-collection/run-actor" target="_blank">Actor run</a> Apify API endpoint and extended with
-certain fields. For more details, see <a href="https://apify.com/docs/actor#run" target="_blank">Runs.</a>
+certain fields. For more details, see <a href="https://docs.apify.com/actor/run" target="_blank">Runs.</a>
**Properties**
@@ -44,7 +44,7 @@ certain fields. For more details, see <a href="https://apify.com/docs/actor#run"
</tr>
<tr>
<td colspan="3"><p>Status of the run. For possible values, see
- <a href="https://apify.com/docs/actor#run-lifecycle" target="_blank">Run lifecycle</a>
+ <a href="https://docs.apify.com/actor/run#lifecycle" target="_blank">Run lifecycle</a>
in Apify actor documentation.</p>
</td></tr><tr>
<td><code>meta</code></td><td><code>Object</code></td>
@@ -80,7 +80,7 @@ certain fields. For more details, see <a href="https://apify.com/docs/actor#run"
</tr>
<tr>
<td colspan="3"><p>ID of the actor build used for the run. For details, see
- <a href="https://apify.com/docs/actor#build" target="_blank">Builds</a>
+ <a href="https://docs.apify.com/actor/build" target="_blank">Builds</a>
in Apify actor documentation.</p>
</td></tr><tr>
<td><code>buildNumber</code></td><td><code>String</code></td>
@@ -113,7 +113,7 @@ certain fields. For more details, see <a href="https://apify.com/docs/actor#run"
<tr>
<td colspan="3"><p>URL on which the web server running inside actor run&#39;s Docker container can be accessed.
For more details, see
- <a href="https://apify.com/docs/actor#container-web-server" target="_blank">Container web server</a>
+ <a href="https://docs.apify.com/actor/run#container-web-server" target="_blank">Container web server</a>
in Apify actor documentation.</p>
</td></tr><tr>
<td><code>output</code></td><td><code>Object</code></td>
diff --git a/docs/typedefs/LaunchPuppeteerOptions.md b/docs/typedefs/LaunchPuppeteerOptions.md
index ea5e58a05..cccfd910d 100644
--- a/docs/typedefs/LaunchPuppeteerOptions.md
+++ b/docs/typedefs/LaunchPuppeteerOptions.md
@@ -55,13 +55,13 @@ Apify extends the launch options of Puppeteer. You can use any of the
<tr>
<td colspan="3"><p>If set to <code>true</code>, Puppeteer will be configured to use
<a href="https://my.apify.com/proxy" target="_blank">Apify Proxy</a> for all connections.
- For more information, see the <a href="https://apify.com/docs/proxy" target="_blank">documentation</a></p>
+ For more information, see the <a href="https://docs.apify.com/proxy" target="_blank">documentation</a></p>
</td></tr><tr>
<td><code>[apifyProxyGroups]</code></td><td><code>Array<String></code></td><td></td>
</tr>
<tr>
<td colspan="3"><p>An array of proxy groups to be used
- by the <a href="https://apify.com/docs/proxy" target="_blank">Apify Proxy</a>.
+ by the <a href="https://docs.apify.com/proxy" target="_blank">Apify Proxy</a>.
Only applied if the <code>useApifyProxy</code> option is <code>true</code>.</p>
</td></tr><tr>
<td><code>[apifyProxySession]</code></td><td><code>String</code></td><td></td>
diff --git a/examples/puppeteer_with_proxy.js b/examples/puppeteer_with_proxy.js
index 57ea9b2fe..e4950db71 100644
--- a/examples/puppeteer_with_proxy.js
+++ b/examples/puppeteer_with_proxy.js
@@ -1,6 +1,6 @@
/**
* This example demonstrates how to load pages in headless Chrome / Puppeteer
- * over <a href="https://apify.com/docs/proxy" target="_blank">Apify Proxy</a>.
+ * over <a href="https://docs.apify.com/proxy" target="_blank">Apify Proxy</a>.
* To make it work, you'll need an Apify Account
* that has access to the proxy.
* The proxy password is available on the <a href="https://my.apify.com/proxy" target="_blank">Proxy</a> page in the app.
diff --git a/examples/screenshots.js b/examples/screenshots.js
index d878b08d0..14ed40121 100644
--- a/examples/screenshots.js
+++ b/examples/screenshots.js
@@ -18,7 +18,7 @@
* On the Apify cloud, the input can be either set manually
* in the UI app or passed as the POST payload to the
* <a href="https://apify.com/docs/api/v2#/reference/actors/run-collection/run-actor" target="_blank">Run actor API call</a>.
- * For more details, see <a href="https://apify.com/docs/actor#input-output" target="_blank">Input and output</a>
+ * For more details, see <a href="https://docs.apify.com/actor/run#input-and-output" target="_blank">Input and output</a>
* in the Apify Actor documentation.
*
* To run this example on the Apify Platform, select the `Node.js 10 + Chrome on Debian (apify/actor-node-chrome)` base image
diff --git a/src/actor.js b/src/actor.js
index 262af13b7..48054e264 100644
--- a/src/actor.js
+++ b/src/actor.js
@@ -125,7 +125,7 @@ const addInputOptionsOrThrow = (input, contentType, options) => {
* }
* ```
* For the list of the `APIFY_XXX` environment variables, see
- * <a href="https://apify.com/docs/actor#run-env-vars" target="_blank">Actor documentation</a>.
+ * <a href="https://docs.apify.com/actor/run#environment-variables" target="_blank">Actor documentation</a>.
* If some of the variables are not defined or are invalid, the corresponding value in the resulting object will be null.
*
* @returns {Object}
@@ -292,7 +292,7 @@ let callMemoryWarningIssued = false;
* [`Apify.callTask()`](../api/apify#module_Apify.callTask) function instead.
*
* For more information about actors, read the
- * <a href="https://apify.com/docs/actor" target="_blank">documentation</a>.
+ * <a href="https://docs.apify.com/actor" target="_blank">documentation</a>.
*
* **Example usage:**
*
@@ -341,7 +341,7 @@ let callMemoryWarningIssued = false;
* actor's output and will return it in a raw `Buffer`.
* @param {Array} [options.webhooks] Specifies optional webhooks associated with the actor run, which can be used
* to receive a notification e.g. when the actor finished or failed, see
- * [ad hook webhooks documentation](https://apify.com/docs/webhooks#adhoc) for detailed description.
+ * [ad hook webhooks documentation](https://docs.apify.com/webhooks/ad-hoc-webhooks) for detailed description.
* @returns {Promise<ActorRun>}
* @throws {ApifyCallError} If the run did not succeed, e.g. if it failed or timed out.
*
@@ -432,7 +432,7 @@ export const call = async (actId, input, options = {}) => {
* If you want to run an actor directly rather than an actor task, please use the
* [`Apify.call()`](../api/apify#module_Apify.call) function instead.
*
- * For more information about actor tasks, read the [`documentation`](https://apify.com/docs/tasks).
+ * For more information about actor tasks, read the [`documentation`](https://docs.apify.com/tasks).
*
* **Example usage:**
*
@@ -477,7 +477,7 @@ export const call = async (actId, input, options = {}) => {
* If `waitSecs` is null or undefined, the function waits for the actor task to finish (default behavior).
* @param {Array} [options.webhooks] Specifies optional webhooks associated with the actor run, which can be used
* to receive a notification e.g. when the actor finished or failed, see
- * [ad hook webhooks documentation](https://apify.com/docs/webhooks#adhoc) for detailed description.
+ * [ad hook webhooks documentation](https://docs.apify.com/webhooks/ad-hoc-webhooks) for detailed description.
* @returns {Promise<ActorRun>}
* @throws {ApifyCallError} If the run did not succeed, e.g. if it failed or timed out.
*
@@ -610,7 +610,7 @@ export const metamorph = async (targetActorId, input, options = {}) => {
* <a href="https://apify.com/docs/api/v2#/reference/actors/run-collection/run-actor" target="_blank">Actor run</a>
* Apify API endpoint and extended with certain fields.
* For more details, see
- * <a href="https://apify.com/docs/actor#run" target="_blank">Runs.</a>
+ * <a href="https://docs.apify.com/actor/run" target="_blank">Runs.</a>
*
* @typedef {Object} ActorRun
* @property {String} id
@@ -623,7 +623,7 @@ export const metamorph = async (targetActorId, input, options = {}) => {
* Time when the actor run finished. Contains `null` for running actors.
* @property {String} status
* Status of the run. For possible values, see
- * <a href="https://apify.com/docs/actor#run-lifecycle" target="_blank">Run lifecycle</a>
+ * <a href="https://docs.apify.com/actor/run#lifecycle" target="_blank">Run lifecycle</a>
* in Apify actor documentation.
* @property {Object} meta
* Actor run meta-data. For example:
@@ -656,7 +656,7 @@ export const metamorph = async (targetActorId, input, options = {}) => {
* ```
* @property {String} buildId
* ID of the actor build used for the run. For details, see
- * <a href="https://apify.com/docs/actor#build" target="_blank">Builds</a>
+ * <a href="https://docs.apify.com/actor/build" target="_blank">Builds</a>
* in Apify actor documentation.
* @property {String} buildNumber
* Number of the actor build used for the run. For example, `0.0.10`.
@@ -671,7 +671,7 @@ export const metamorph = async (targetActorId, input, options = {}) => {
* @property {String} containerUrl
* URL on which the web server running inside actor run's Docker container can be accessed.
* For more details, see
- * <a href="https://apify.com/docs/actor#container-web-server" target="_blank">Container web server</a>
+ * <a href="https://docs.apify.com/actor/run#container-web-server" target="_blank">Container web server</a>
* in Apify actor documentation.
* @property {Object} output
* Contains output of the actor run. The value is `null` or `undefined` in case the actor is still running,
@@ -696,7 +696,7 @@ export const metamorph = async (targetActorId, input, options = {}) => {
*
* For more information, see
* the <a href="https://my.apify.com/proxy" target="_blank">Apify Proxy</a> page in the app
- * or the <a href="https://apify.com/docs/proxy" target="_blank">documentation</a>.
+ * or the <a href="https://docs.apify.com/proxy" target="_blank">documentation</a>.
*
* @param {Object} options
* Object with the settings below:
@@ -799,7 +799,7 @@ export const getApifyProxyUrl = (options = {}) => {
/**
*
* Creates an ad-hoc webhook for the current actor run, which lets you receive a notification when the actor run finished or failed.
- * For more information about Apify actor webhooks, please see the <a href="https://apify.com/docs/webhooks" target="_blank">documentation</a>.
+ * For more information about Apify actor webhooks, please see the <a href="https://docs.apify.com/webhooks" target="_blank">documentation</a>.
*
* Note that webhooks are only supported for actors running on the Apify platform.
* In local environment, the function will print a warning and have no effect.
@@ -807,17 +807,17 @@ export const getApifyProxyUrl = (options = {}) => {
* @param {Object} options
* @param {string[]} options.eventTypes
* Array of event types, which you can set for actor run, see
- * the <a href="https://apify.com/docs/webhooks#events-actor-run" target="_blank">actor run events</a> in the Apify doc.
+ * the <a href="https://docs.apify.com/webhooks/events#actor-run" target="_blank">actor run events</a> in the Apify doc.
* @param {string} options.requestUrl
* URL which will be requested using HTTP POST request, when actor run will reach the set event type.
* @param {string} [options.payloadTemplate]
* Payload template is a JSON-like string that describes the structure of the webhook POST request payload.
* It uses JSON syntax, extended with a double curly braces syntax for injecting variables `{{variable}}`.
* Those variables are resolved at the time of the webhook's dispatch, and a list of available variables with their descriptions
- * is available in the <a href="https://apify.com/docs/webhooks" target="_blank">Apify webhook documentation</a>.
+ * is available in the <a href="https://docs.apify.com/webhooks" target="_blank">Apify webhook documentation</a>.
*
* When omitted, the default payload template will be used.
- * <a href="https://apify.com/docs/webhooks" target="_blank">See the docs for the default payload template</a>.
+ * <a href="https://docs.apify.com/webhooks" target="_blank">See the docs for the default payload template</a>.
* @param {string} [options.idempotencyKey]
* Idempotency key enables you to ensure that a webhook will not be added multiple times in case of
* an actor restart or other situation that would cause the `addWebhook()` function to be called again.
diff --git a/src/crawlers/cheerio_crawler.js b/src/crawlers/cheerio_crawler.js
index dcbc8c7e8..acaebe0cd 100644
--- a/src/crawlers/cheerio_crawler.js
+++ b/src/crawlers/cheerio_crawler.js
@@ -210,10 +210,10 @@ const DEFAULT_OPTIONS = {
* @param {Boolean} [options.useApifyProxy=false]
* If set to `true`, `CheerioCrawler` will be configured to use
* <a href="https://my.apify.com/proxy" target="_blank">Apify Proxy</a> for all connections.
- * For more information, see the <a href="https://apify.com/docs/proxy" target="_blank">documentation</a>
+ * For more information, see the <a href="https://docs.apify.com/proxy" target="_blank">documentation</a>
* @param {String[]} [options.apifyProxyGroups]
* An array of proxy groups to be used
- * by the <a href="https://apify.com/docs/proxy" target="_blank">Apify Proxy</a>.
+ * by the <a href="https://docs.apify.com/proxy" target="_blank">Apify Proxy</a>.
* Only applied if the `useApifyProxy` option is `true`.
* @param {String} [options.apifyProxySession]
* Apify Proxy session identifier to be used with requests made by `CheerioCrawler`.
diff --git a/src/dataset.js b/src/dataset.js
index 8d9ae6b38..f00997c0a 100644
--- a/src/dataset.js
+++ b/src/dataset.js
@@ -119,7 +119,7 @@ export const chunkBySize = (items, limitBytes) => {
* Each dataset item is stored as a separate JSON file, where `{INDEX}` is a zero-based index of the item in the dataset.
*
* If the `APIFY_TOKEN` environment variable is set but `APIFY_LOCAL_STORAGE_DIR` not, the data is stored in the
- * <a href="https://apify.com/docs/storage#dataset" target="_blank">Apify Dataset</a>
+ * <a href="https://docs.apify.com/storage/dataset" target="_blank">Apify Dataset</a>
* cloud storage. Note that you can force usage of the cloud storage also by passing the `forceCloud`
* option to [`Apify.openDataset()`](apify#module_Apify.openDataset) function,
* even if the `APIFY_LOCAL_STORAGE_DIR` variable is set.
@@ -293,7 +293,7 @@ export class Dataset {
* Returns an object containing general information about the dataset.
*
* The function returns the same object as the Apify API Client's
- * [getDataset](https://apify.com/docs/api/apify-client-js/latest#ApifyClient-datasets-getDataset)
+ * [getDataset](https://docs.apify.com/api/apify-client-js/latest#ApifyClient-datasets-getDataset)
* function, which in turn calls the
* [Get dataset](https://apify.com/docs/api/v2#/reference/datasets/dataset/get-dataset)
* API endpoint.
diff --git a/src/key_value_store.js b/src/key_value_store.js
index 0094728be..7ab8de91d 100644
--- a/src/key_value_store.js
+++ b/src/key_value_store.js
@@ -128,7 +128,7 @@ export const maybeStringify = (value, options) => {
* The `{KEY}` is the key of the record and `{EXT}` corresponds to the MIME content type of the data value.
*
* If the `APIFY_TOKEN` environment variable is set but `APIFY_LOCAL_STORAGE_DIR` not, the data is stored in the
- * <a href="https://apify.com/docs/storage#key-value-store" target="_blank">Apify Key-value store</a>
+ * <a href="https://docs.apify.com/storage/key-value-store" target="_blank">Apify Key-value store</a>
* cloud storage. Note that you can force usage of the cloud storage also by passing the `forceCloud`
* option to [`Apify.openKeyValueStore()`](apify#module_Apify.openKeyValueStore) function,
* even if the `APIFY_LOCAL_STORAGE_DIR` variable is set.
diff --git a/src/puppeteer.js b/src/puppeteer.js
index 9ecf3fbed..0d4239f61 100644
--- a/src/puppeteer.js
+++ b/src/puppeteer.js
@@ -48,10 +48,10 @@ const LAUNCH_PUPPETEER_DEFAULT_VIEWPORT = {
* @property {Boolean} [useApifyProxy=false]
* If set to `true`, Puppeteer will be configured to use
* <a href="https://my.apify.com/proxy" target="_blank">Apify Proxy</a> for all connections.
- * For more information, see the <a href="https://apify.com/docs/proxy" target="_blank">documentation</a>
+ * For more information, see the <a href="https://docs.apify.com/proxy" target="_blank">documentation</a>
* @property {String[]} [apifyProxyGroups]
* An array of proxy groups to be used
- * by the <a href="https://apify.com/docs/proxy" target="_blank">Apify Proxy</a>.
+ * by the <a href="https://docs.apify.com/proxy" target="_blank">Apify Proxy</a>.
* Only applied if the `useApifyProxy` option is `true`.
* @property {String} [apifyProxySession]
* Apify Proxy session identifier to be used by all the Chrome browsers.
@@ -176,7 +176,7 @@ const getPuppeteerOrThrow = (puppeteerModule = 'puppeteer') => {
* </li>
* <li>
* If <code>options.useApifyProxy</code> is <code>true</code> then the function generates a URL of
- * <a href="https://apify.com/docs/proxy" target="_blank">Apify Proxy</a>
+ * <a href="https://docs.apify.com/proxy" target="_blank">Apify Proxy</a>
* based on <code>options.apifyProxyGroups</code> and <code>options.apifyProxySession</code> and passes it as <code>options.proxyUrl</code>.
* </li>
* <li>
@@ -195,7 +195,7 @@ const getPuppeteerOrThrow = (puppeteerModule = 'puppeteer') => {
* NPM package installed in your project.
* When running on the Apify cloud, you can achieve that simply
* by using the `apify/actor-node-chrome` base Docker image for your actor - see
- * <a href="https://apify.com/docs/actor#base-images" target="_blank">Apify Actor documentation</a>
+ * <a href="https://docs.apify.com/actor/build#base-images" target="_blank">Apify Actor documentation</a>
* for details.
*
* For an example of usage, see the [Synchronous run Example](../examples/synchronousrun)
diff --git a/src/request_queue.js b/src/request_queue.js
index dc44f5f59..fa6c27f21 100644
--- a/src/request_queue.js
+++ b/src/request_queue.js
@@ -154,7 +154,7 @@ const getRequestId = (uniqueKey) => {
* and `{NUMBER}` is an integer indicating the position of the request in the queue.
*
* If the `APIFY_TOKEN` environment variable is set but `APIFY_LOCAL_STORAGE_DIR` not, the data is stored in the
- * <a href="https://apify.com/docs/storage#queue" target="_blank">Apify Request Queue</a>
+ * <a href="https://docs.apify.com/storage/request-queue" target="_blank">Apify Request Queue</a>
* cloud storage. Note that you can force usage of the cloud storage also by passing the `forceCloud`
* option to [`Apify.openRequestQueue()`](apify#module_Apify.openRequestQueue) function,
* even if the `APIFY_LOCAL_STORAGE_DIR` variable is set.
@@ -676,7 +676,7 @@ export class RequestQueue {
* Returns an object containing general information about the request queue.
*
* The function returns the same object as the Apify API Client's
- * [getQueue](https://apify.com/docs/api/apify-client-js/latest#ApifyClient-requestQueues-getQueue)
+ * [getQueue](https://docs.apify.com/api/apify-client-js/latest#ApifyClient-requestQueues)
* function, which in turn calls the
* [Get request queue](https://apify.com/docs/api/v2#/reference/request-queues/queue/get-request-queue)
* API endpoint.
diff --git a/src/utils.js b/src/utils.js
index cd12ffc25..d875dfa24 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -72,7 +72,7 @@ export const logSystemInfo = () => {
/**
* Gets the default instance of the `ApifyClient` class provided
- * <a href="https://apify.com/docs/sdk/apify-client-js/latest"
+ * <a href="https://docs.apify.com/api/apify-client-js/latest"
* target="_blank">apify-client</a> by the NPM package.
* The instance is created automatically by the Apify SDK and it is configured using the
* `APIFY_API_BASE_URL`, `APIFY_USER_ID` and `APIFY_TOKEN` environment variables.
@@ -80,7 +80,7 @@ export const logSystemInfo = () => {
* The instance is used for all underlying calls to the Apify API in functions such as
* [`Apify.getValue()`](#module_Apify.getValue) or [`Apify.call()`](#module_Apify.call).
* The settings of the client can be globally altered by calling the
- * <a href="https://apify.com/docs/sdk/apify-client-js/latest#ApifyClient-setOptions"
+ * <a href="https://docs.apify.com/api/apify-client-js/latest#ApifyClient-setOptions"
* target="_blank">`Apify.client.setOptions()`</a> function.
* Beware that altering these settings might have unintended effects on the entire Apify SDK package.
*