Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .lycheeignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,19 @@ https://trust.apify.com/
https?:\/\/(www\.)?soundcloud\.com\/.*
https?:\/\/(www\.)?fandom\.com\/.*
https?:\/\/(www\.)?remax\.com\.tr\/.*
https?:\/\/(www\.)?x\.com\/.*
https?:\/\/([a-z0-9-]+\.)?medium\.com\/.*
https?:\/\/javascript\.plainenglish\.io\/.*
https?:\/\/(www\.)?make\.com\/.*
https?:\/\/(www\.)?stackoverflow\.com\/.*
https?:\/\/[a-z0-9-]+\.stackexchange\.com\/.*
https?:\/\/(www\.)?reddit\.com\/.*
https?:\/\/(www\.)?quora\.com\/.*
https?:\/\/(www\.)?producthunt\.com\/.*
https?:\/\/(www\.)?udemy\.com\/.*
https?:\/\/(www\.)?guru99\.com\/.*
https?:\/\/(www\.)?snowflake\.com\/.*
https?:\/\/claude\.ai\/.*
https?:\/\/lovable\.dev\/.*
# Reachable only through Apify Proxy
http:\/\/proxy\.apify\.com\/.*
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,8 @@ or the following list:
- https://github.com/BuilderIO/gpt-crawler
- https://github.com/errata-ai/vale
- https://github.com/scrapybara/scrapybara-demos
- https://github.com/David-patrick-chuks/Riona-AI-Agent
- https://github.com/projectdiscovery/katana
- https://github.com/exa-labs/company-researcher
- https://github.com/Janix-ai/mcp-validator
- https://github.com/JoshuaC215/agent-service-toolkit
- https://github.com/dequelabs/axe-core
- https://github.com/janreges/siteone-crawler
Expand Down
2 changes: 1 addition & 1 deletion sources/academy/build-and-publish/how-to-build/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ You can also take advantage of the Apify platform's features without having to m

### Integrating Scrapy spiders

The Apify platform fully supports Scrapy spiders. By [deploying your existing Scrapy code to Apify](https://apify.com/run-scrapy-in-cloud), you can take advantage of features like scheduling, monitoring, scaling, and API access, all without needing to modify your original spider. This process is made easy with the [Apify CLI](https://docs.apify.com/cli/), which allows you to convert your Scrapy spider into an Apify Actor with just a few commands. Once deployed, your spider can run in the cloud, offering a reliable and scalable solution for your web scraping needs.
The Apify platform fully supports Scrapy spiders. By [deploying your existing Scrapy code to Apify](/cli/docs/integrating-scrapy), you can take advantage of features like scheduling, monitoring, scaling, and API access, all without needing to modify your original spider. This process is made easy with the [Apify CLI](https://docs.apify.com/cli/), which allows you to convert your Scrapy spider into an Apify Actor with just a few commands. Once deployed, your spider can run in the cloud, offering a reliable and scalable solution for your web scraping needs.

Additionally, you can monetize your spiders by [publishing them as Actors](https://apify.com/partners/actor-developers) on Apify Store, potentially earning passive income from your work while benefiting from the platform’s extensive features.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ In one of the later lessons, we'll be learning how to integrate our Actor on the

### Docker {#docker}

Docker is a massive topic on its own, but don't be worried! We only expect you to know and understand the very basics of it, which can be learned about in [this short article](https://docs.docker.com/guides/docker-overview/) (10 minute read).
Docker is a massive topic on its own, but don't be worried! We only expect you to know and understand the very basics of it, which can be learned about in [this short article](https://docs.docker.com/learn/content/what-is-a-container/) (10 minute read).

### The basics of Actors {#actor-basics}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ if (response.ok) {
}
```

Calling [`toArray()`](https://cheerio.js.org/docs/api/classes/Cheerio#toarray) converts the Cheerio selection to a standard JavaScript array. We can then loop over that array and process each selected element.
Calling [`toArray()`](https://cheerio.js.org/docs/api/classes/cheerio/#toarray) converts the Cheerio selection to a standard JavaScript array. We can then loop over that array and process each selected element.

Cheerio requires us to wrap each element with `$()` again before we can work with it further, and then we call `.text()`. If we run the code, it… well, it definitely prints _something_…

Expand Down Expand Up @@ -137,7 +137,7 @@ When translated to a tree of JavaScript objects, the element with class `price`
- a `span` HTML element,
- a textual node representing the actual amount and possibly also white space.

We can use Cheerio's [`.contents()`](https://cheerio.js.org/docs/api/classes/Cheerio#contents) method to access individual nodes. It returns a list of nodes like this:
We can use Cheerio's [`.contents()`](https://cheerio.js.org/docs/api/classes/cheerio/#contents) method to access individual nodes. It returns a list of nodes like this:

```text
LoadedCheerio {
Expand Down Expand Up @@ -198,7 +198,7 @@ if (response.ok) {
}
```

We're enjoying the fact that Cheerio selections provide utility methods for accessing items, such as [`.first()`](https://cheerio.js.org/docs/api/classes/Cheerio#first) or [`.last()`](https://cheerio.js.org/docs/api/classes/Cheerio#last). If we run the scraper now, it should print prices as only amounts:
We're enjoying the fact that Cheerio selections provide utility methods for accessing items, such as [`.first()`](https://cheerio.js.org/docs/api/classes/cheerio/#first) or [`.last()`](https://cheerio.js.org/docs/api/classes/cheerio/#last). If we run the scraper now, it should print prices as only amounts:

```text
$ node index.js
Expand Down Expand Up @@ -238,7 +238,7 @@ Macao, China

:::tip Need a nudge?

You may want to check out Cheerio's [`.eq()`](https://cheerio.js.org/docs/api/classes/Cheerio#eq).
You may want to check out Cheerio's [`.eq()`](https://cheerio.js.org/docs/api/classes/cheerio/#eq).

:::

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ Hamilton reveals distress over ‘devastating’ groundhog accident at Canadian
:::tip Need a nudge?

- HTML's `time` element can have an attribute `datetime`, which [contains data in a machine-readable format](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time), such as the ISO 8601.
- Cheerio gives you [.attr()](https://cheerio.js.org/docs/api/classes/Cheerio#attr) to access attributes.
- Cheerio gives you [.attr()](https://cheerio.js.org/docs/api/classes/cheerio/#attr) to access attributes.
- In JavaScript you can use an ISO 8601 string to create a [`Date`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) object.
- To get the date, you can call `.toDateString()` on `Date` objects.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ We'll start from a boilerplate that's very similar to the scraper we built in [B
{Example}
</RunnableCodeBlock>

Aside from importing libraries and downloading HTML, we load the HTML into Cheerio and then use it to retrieve all the `<a>` elements. After that, we iterate over the collected links and print their `href` attributes, which we access using the [`.attr()`](https://cheerio.js.org/docs/api/classes/Cheerio#attr) method.
Aside from importing libraries and downloading HTML, we load the HTML into Cheerio and then use it to retrieve all the `<a>` elements. After that, we iterate over the collected links and print their `href` attributes, which we access using the [`.attr()`](https://cheerio.js.org/docs/api/classes/cheerio/#attr) method.

When you run the above code, you'll see quite a lot of links in the terminal. Some of them may look wrong, because they don't start with the regular `https://` protocol. We'll learn what to do with them in the following lessons.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ for (const product of products) {
}
```

The main difference is that we used the [`.find()`](https://cheerio.js.org/classes/Cheerio.html#find) function to select the title and price elements and also the `.contents()` function instead of the `childNodes` attribute. If you find the differences confusing, don't worry about it. It will begin to feel very natural after a bit of practice.
The main difference is that we used the [`.find()`](https://cheerio.js.org/docs/api/classes/cheerio/#find) function to select the title and price elements and also the `.contents()` function instead of the `childNodes` attribute. If you find the differences confusing, don't worry about it. It will begin to feel very natural after a bit of practice.

The final scraper code looks like this. Replace the code in your **main.js** file with this code and run it using `node main.js` in your terminal.

Expand Down
4 changes: 2 additions & 2 deletions sources/platform/integrations/agents/openclaw.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ toc_min_heading_level: 2
import ThirdPartyDisclaimer from '@site/sources/_partials/_third-party-integration.mdx';
import { CreateApiTokenLink } from '@site/src/components/ApiToken';

[OpenClaw](https://openclaw.io) is an open-source AI agent orchestration platform that enables you to build, deploy, and manage autonomous AI agents. The Apify plugin for OpenClaw gives your agents access to thousands of pre-built Actors for web scraping, data extraction, and automation through a single `apify` tool.
[OpenClaw](https://openclaw.ai/) is an open-source AI agent orchestration platform that enables you to build, deploy, and manage autonomous AI agents. The Apify plugin for OpenClaw gives your agents access to thousands of pre-built Actors for web scraping, data extraction, and automation through a single `apify` tool.

For more details about OpenClaw, refer to the [official documentation](https://docs.openclaw.ai/).

Expand All @@ -35,7 +35,7 @@ Before integrating Apify with OpenClaw, you'll need:

- _An Apify account_ - If you don't have one, [sign up here](https://console.apify.com/sign-up).
- _Apify API token_ - <CreateApiTokenLink />
- _OpenClaw_ - Version 2026.1.0 or later. Install from the [OpenClaw website](https://openclaw.io/).
- _OpenClaw_ - Version 2026.1.0 or later. Install from the [OpenClaw website](https://openclaw.ai/).
- _Node.js 22+_ - Required to run the plugin. Install from [nodejs.org](https://nodejs.org/en/download/).

## Set up the Apify plugin
Expand Down
1 change: 0 additions & 1 deletion sources/platform/integrations/ai/openai/openai-agents.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,6 @@ For a comprehensive example with error handling and reporting, refer to the [Ope
- [OpenAI Agents Python SDK documentation](https://openai.github.io/openai-agents-python/) - Official documentation for the OpenAI Agents SDK
- [OpenAI Agents MCP guide](https://openai.github.io/openai-agents-python/mcp/) - Learn how to use MCP with OpenAI Agents SDK
- [OpenAI Agent MCP Tester Actor](https://apify.com/jiri.spilka/openai-agent-mcp-tester) - A specialized Actor for testing MCP server integration
- [OpenAI Agent MCP Tester GitHub repository](https://github.com/apify/openai-agent-mcp-tester) - Source code for the MCP tester Actor
- [Apify MCP server](https://mcp.apify.com) - Interactive configuration tool for the Apify MCP server
- [Apify MCP documentation](/mcp) - Complete guide to using the Apify MCP server
- [Model Context Protocol specification](https://modelcontextprotocol.io/docs/getting-started/intro) - Learn about the MCP specification
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ for m in client.beta.threads.messages.list(thread_id=run.thread_id):

## Save data into OpenAI Vector Store and use it in the assistant

To provide real-time or proprietary data, OpenAI Assistants can access the [OpenAI Vector Store](https://platform.openai.com/docs/assistants/tools/file-search/vector-stores) to retrieve information for their answers.
To provide real-time or proprietary data, OpenAI Assistants can access the [OpenAI Vector Store](https://platform.openai.com/docs/assistants/tools/file-search) to retrieve information for their answers.
With the [Apify OpenAI Vector Store Integration](https://apify.com/jiri.spilka/openai-vector-store-integration), data saving and updating the OpenAI Vector Store can be fully automated.
The following image illustrates the Apify-OpenAI Vector Store integration:

Expand Down
10 changes: 5 additions & 5 deletions sources/platform/integrations/ai/strands-agents.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Install the matching extra, set the provider's API key, and create a `model` ins

### Amazon Bedrock

Bedrock is the default provider and ships with the base `strands-agents` install. Configure your AWS credentials with `aws configure` or environment variables before running your agent. See the [Bedrock provider docs](https://strandsagents.com/docs/user-guide/concepts/model-providers/amazon-bedrock/) for the full configuration reference.
Bedrock is the default provider and ships with the base `strands-agents` install. Configure your AWS credentials with `aws configure` or environment variables before running your agent. See the [Bedrock provider docs](https://strandsagents.com/latest/documentation/docs/user-guide/concepts/model-providers/amazon-bedrock/) for the full configuration reference.

```python
from strands.models import BedrockModel
Expand All @@ -76,7 +76,7 @@ model = BedrockModel(model_id="global.anthropic.claude-sonnet-4-6", region_name=

### OpenAI

See the [OpenAI provider docs](https://strandsagents.com/docs/user-guide/concepts/model-providers/openai/) for the full configuration reference.
See the [OpenAI provider docs](https://strandsagents.com/latest/documentation/docs/user-guide/concepts/model-providers/openai/) for the full configuration reference.

```bash
pip install 'strands-agents[openai]'
Expand All @@ -95,7 +95,7 @@ model = OpenAIModel(

### Anthropic

See the [Anthropic provider docs](https://strandsagents.com/docs/user-guide/concepts/model-providers/anthropic/) for the full configuration reference.
See the [Anthropic provider docs](https://strandsagents.com/latest/documentation/docs/user-guide/concepts/model-providers/anthropic/) for the full configuration reference.

```bash
pip install 'strands-agents[anthropic]'
Expand All @@ -115,7 +115,7 @@ model = AnthropicModel(

### Ollama (local)

No API key required. See the [Ollama provider docs](https://strandsagents.com/docs/user-guide/concepts/model-providers/ollama/) for the full configuration reference.
No API key required. See the [Ollama provider docs](https://strandsagents.com/latest/documentation/docs/user-guide/concepts/model-providers/ollama/) for the full configuration reference.

```bash
pip install 'strands-agents[ollama]'
Expand All @@ -130,7 +130,7 @@ model = OllamaModel(host="http://localhost:11434", model_id="qwen3.5")

:::tip Other providers

Strands also supports Google Gemini, LiteLLM, and LMStudio. See the [Strands model providers documentation](https://strandsagents.com/docs/user-guide/concepts/model-providers/) for the full list.
Strands also supports Google Gemini, LiteLLM, and LMStudio. See the [Strands model providers documentation](https://strandsagents.com/latest/documentation/docs/user-guide/concepts/model-providers/) for the full list.

:::

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Before you begin, make sure you have:
## Connect Apify with Pipedream

1. Log into your Pipedream account and [create a new workflow](https://pipedream.com/docs/workflows).
1. [Add an Apify step](https://pipedream.com/docs/workflows/building-workflows/steps) (trigger or action) to your workflow. Select one of two Apify apps:
1. [Add an Apify step](https://pipedream.com/docs/workflows/steps) (trigger or action) to your workflow. Select one of two Apify apps:

![Selecting the Apify app in Pipedream](../images/pipedream-select-app.png)

Expand Down
2 changes: 1 addition & 1 deletion sources/platform/proxy/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ The table below describes the available parameters.
<td>Optional</td>
<td>
If specified, all proxied requests will use proxy servers from a selected country. Note that if there are no proxy servers from the specified country, the connection will fail. For example <code>groups-SHADER,country-US</code> uses proxies from the <code>SHADER</code> group located in the USA. By default, the proxy uses all available proxy servers from all countries.
<br/><br/>For <a href="./residential_proxy#how-to-set-a-state">residential proxies</a>, you can also target US states using the <a href="https://en.wikipedia.org/wiki/ISO_3166-2:US">ISO 3166-2:US</a> format: <code>country-US_XX</code>, where <code>XX</code> is the two-letter state abbreviation. For example, <code>groups-RESIDENTIAL,country-US_CA</code> targets California.
<br/><br/>For <a href="/proxy/residential-proxy#how-to-set-a-state">residential proxies</a>, you can also target US states using the <a href="https://en.wikipedia.org/wiki/ISO_3166-2:US">ISO 3166-2:US</a> format: <code>country-US_XX</code>, where <code>XX</code> is the two-letter state abbreviation. For example, <code>groups-RESIDENTIAL,country-US_CA</code> targets California.
</td>
</tr>
</tbody>
Expand Down
2 changes: 1 addition & 1 deletion sources/platform/storage/dataset/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ You can then use that variable to [access the dataset's items and manage it](/ap

The [`.list_items()`](/api/client/python/reference/class/DatasetClient#list_items) method takes `fields` and `omit` as lists and passes them to the [API](#apify-api), so the same rules apply.

Check out the [Python API client documentation](/api/client/python/reference/class/DatasetClient) for [help with setup](/api/client/python/docs/overview/introduction) and more details.
Check out the [Python API client documentation](/api/client/python/reference/class/DatasetClient) for [help with setup](/api/client/python/docs/overview) and more details.

### Apify SDKs

Expand Down
2 changes: 1 addition & 1 deletion sources/platform/storage/key_value_store/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ my_key_val_store_client = apify_client.key_value_store('jane-doe/my-key-val-stor

You can then use that variable to [access the key-value store's items and manage it](/api/client/python/reference/class/KeyValueStoreClient).

Check out the [Python API client documentation](/api/client/python/reference/class/KeyValueStoreClient) for [help with setup](/api/client/python/docs/overview/introduction) and more details.
Check out the [Python API client documentation](/api/client/python/reference/class/KeyValueStoreClient) for [help with setup](/api/client/python/docs/overview) and more details.

### Apify SDKs

Expand Down
4 changes: 2 additions & 2 deletions sources/platform/storage/request_queue.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ my_queue_client = apify_client.request_queue('jane-doe/my-request-queue')

You can then use that variable to [access the request queue's items and manage it](/api/client/python/reference/class/RequestQueueClient).

Check out the [Python API client documentation](/api/client/python/reference/class/RequestQueueClient) for [help with setup](/api/client/python/docs/overview/introduction) and more details.
Check out the [Python API client documentation](/api/client/python/reference/class/RequestQueueClient) for [help with setup](/api/client/python/docs/overview) and more details.

### Apify SDKs

Expand Down Expand Up @@ -409,7 +409,7 @@ Request queue includes a locking mechanism to avoid concurrent processing of one
You can lock a request so that no other clients receive it when they fetch the queue head, with an expiration period on the lock so that requests which fail processing are eventually unlocked and retried.

Crawlee supports request locking with minimal setup. By default, requests are locked for the same duration as the timeout for processing requests in the crawler ([`requestHandlerTimeoutSecs`](https://crawlee.dev/api/next/basic-crawler/interface/BasicCrawlerOptions#requestHandlerTimeoutSecs)).
If the Actor processing the request fails, the lock expires, and the request is processed again eventually. For more details, refer to the [Crawlee documentation](https://crawlee.dev/docs/next/experiments/experiments-request-locking).
If the Actor processing the request fails, the lock expires, and the request is processed again eventually. For more details, refer to the [Crawlee documentation](https://crawlee.dev/js/docs/experiments/experiments-request-locking).

In the following example, we demonstrate how you can use locking mechanisms to avoid concurrent processing of the same request across multiple Actor runs.

Expand Down
Loading