diff --git a/docs/actor/images/github-integration.png b/docs/actor/images/github-integration.png new file mode 100755 index 0000000000..6c95b0d3d7 Binary files /dev/null and b/docs/actor/images/github-integration.png differ diff --git a/docs/actor/images/run-console.png b/docs/actor/images/run-console.png new file mode 100755 index 0000000000..5e5127e6c7 Binary files /dev/null and b/docs/actor/images/run-console.png differ diff --git a/docs/actor/images/run-log-2.png b/docs/actor/images/run-log-2.png new file mode 100755 index 0000000000..1a6db0ae86 Binary files /dev/null and b/docs/actor/images/run-log-2.png differ diff --git a/docs/actor/images/run-log.png b/docs/actor/images/run-log.png new file mode 100755 index 0000000000..690391e13f Binary files /dev/null and b/docs/actor/images/run-log.png differ diff --git a/docs/actor/images/source-env-vars.png b/docs/actor/images/source-env-vars.png new file mode 100755 index 0000000000..77887c914b Binary files /dev/null and b/docs/actor/images/source-env-vars.png differ diff --git a/docs/actor/quick_start.md b/docs/actor/quick_start.md index a08cb966a3..d0e4b2c272 100644 --- a/docs/actor/quick_start.md +++ b/docs/actor/quick_start.md @@ -15,7 +15,7 @@ Go to the [Actor](https://my.apify.com/actors) section in the app, create a new Click **Quick run** to build and run your actor. After the run is finished you should see something like: - + Congratulations, you have successfully created and run your first actor! @@ -40,7 +40,7 @@ Save your actor by clicking **Save** and then rebuild it by clicking **Build**. Then set **Content type** to `application/json; charset=utf-8` and click **Run**. You will see something like: - + Excellent, you have just created your first actor to accept input and store output! Now you can start adding some magic. diff --git a/docs/actor/run.md b/docs/actor/run.md index d4cce94cc7..71ca81d694 100644 --- a/docs/actor/run.md +++ b/docs/actor/run.md @@ -6,7 +6,7 @@ title: Run The actor can be invoked in a number of ways. One option is to start the actor manually in **Console** in the app: - + The following table describes the run settings: diff --git a/docs/actor/source_code.md b/docs/actor/source_code.md index c202a61235..1377718cf6 100644 --- a/docs/actor/source_code.md +++ b/docs/actor/source_code.md @@ -115,7 +115,7 @@ For example, for repositories on GitHub it can be done using the following steps Then go to your GitHub repository, click **Settings**, select **Webhooks** tab and click **Add webhook**. Paste the API URL to the **Payload URL** as follows: - + And that's it! Now your actor should automatically rebuild on every push to the GitHub repository. @@ -123,7 +123,7 @@ And that's it! Now your actor should automatically rebuild on every push to the The actor owner can specify custom environment variables that are set to the actor's process during the run. Sensitive environment variables such as passwords or API tokens can be protected by setting the **Secret** option. With this option enabled, the value of the environment variable is encrypted and it will not be visible in the app or APIs, and the value is redacted from actor logs to avoid the accidental leakage of sensitive data. - + Note that the custom environment variables are fixed during the build of the actor and cannot be changed later. See the [Build]({{@link actor/build.md#build}}) section for details. diff --git a/docs/proxy/images/proxy-status.png b/docs/proxy/images/proxy-status.png new file mode 100644 index 0000000000..aa089c0d01 Binary files /dev/null and b/docs/proxy/images/proxy-status.png differ diff --git a/docs/proxy/troubleshooting.md b/docs/proxy/troubleshooting.md index 33cbf011dc..7e8d119c1b 100644 --- a/docs/proxy/troubleshooting.md +++ b/docs/proxy/troubleshooting.md @@ -10,7 +10,7 @@ To view the status of the connection to Apify Proxy, open the following URL in t If the proxy connection works well, the web page should look something like this: - + To test that your requests are proxied and rotate the IP addresses correctly, you can open the following API endpoint via the proxy. It shows information about the client IP address: diff --git a/docs/scraping/cheerio_scraper.md b/docs/scraping/cheerio_scraper.md index 3f088de31e..c17d092685 100644 --- a/docs/scraping/cheerio_scraper.md +++ b/docs/scraping/cheerio_scraper.md @@ -29,13 +29,13 @@ Before we start, let's do a quick recap of the data we chose to scrape: 5. **Last run date**- When the actor was last run. 6. **Number of runs** - How many times the actor was run. - + We've already scraped number 1 and 2 in the [Getting started with Apify scrapers](https://apify.com/docs/scraping/tutorial/introduction) tutorial, so let's get to the next one on the list: Title ### [](#title)Title - + By using the element selector tool, we find out that the title is there under an `
` tag, because there's a lot of them in the page. We need to narrow our search down a little. Using the DevTools we find that the actor description is nested within the ` ` tags. To finally select only the description, we choose the ` ` tag that has a `class` that starts with `Text__Paragraph`.
-
+
return {
title: $('header h1').text(),
@@ -63,7 +63,7 @@ Getting the actor's description is a little more involved, but still pretty stra
The DevTools tell us that the `lastRunDate` can be found in the second of the two `