Skip to content

Commit ca4fae2

Browse files
committed
extend vocabulary & remove unnecessary vale off and on
1 parent 003de23 commit ca4fae2

File tree

10 files changed

+31
-28
lines changed

10 files changed

+31
-28
lines changed

.github/styles/config/vocabularies/Docs/accept.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ nginx
3131
:::tip
3232
:::warning
3333

34+
maxWidth
35+
startUrls
36+
3437
PDFs
3538
dataset's
3639
gif
@@ -64,7 +67,7 @@ llama_index
6467
[Ff]lowise
6568

6669
exploitability
67-
Whitepaper
70+
[Ww]hitepaper
6871
[Cc]ron
6972
scalably
7073
metamorph

sources/academy/webscraping/anti_scraping/techniques/fingerprinting.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ navigator.permissions.query('some_permission');
8686
```
8787

8888
### With canvases {#with-canvases}
89-
<!-- vale off -->
89+
9090
This technique is based on rendering [WebGL](https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API) scenes to a canvas element and observing the pixels rendered. WebGL rendering is tightly connected with the hardware, and therefore provides high entropy. Here's a quick breakdown of how it works:
91-
<!-- vale on -->
91+
9292
1. A JavaScript script creates a [`<canvas>` element](https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API) and renders some font or a custom shape.
9393
2. The script then gets the pixel-map from the `<canvas>` element.
9494
3. The collected pixel-map is stored in a cryptographic hash specific to the device's hardware.

sources/academy/webscraping/api_scraping/general_api_scraping/cookies_headers_tokens.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ Unfortunately, most APIs will require a valid cookie to be included in the `cook
1616
Luckily, there are ways to retrieve and set cookies for requests prior to sending them, which will be covered more in-depth within future Scraping Academy modules. The most important things to know at the moment are:
1717

1818
## Cookies {#cookies}
19-
<!-- vale off -->
19+
2020
1. For sites that heavily rely on cookies for user-verification and request authorization, certain generic requests (such as to the website's main page, or to the target page) will return back a (or multiple) `set-cookie` header(s).
2121
2. The `set-cookie` response header(s) can be parsed and used as the `cookie` header in the headers of a request. A great package for parsing these values from a response's headers is [`set-cookie-parser`](https://www.npmjs.com/package/set-cookie-parser). With this package, cookies can be parsed from headers like so:
22-
<!-- vale on -->
22+
2323
```js
2424
import axios from 'axios';
2525

sources/platform/actors/development/actor_definition/input_schema/secret_input.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ To make an input field secret, you need to add a `"isSecret": true` setting to t
3434
```
3535

3636
The editor for this input field will then turn into a secret input, and when you edit the field value, it will be stored encrypted.
37-
<!-- vale off -->
37+
3838
<img src={require("./images/secret-input-editor.png").default} alt="Secret input editor" style={{ width: '100%', maxWidth: '822px' }}/>
39-
<!-- vale on -->
39+
4040
:::note Type restriction
4141

4242
This is only available for `string` inputs, and the editor type is limited to `textfield` or `textarea`.

sources/platform/actors/publishing/badge.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ https://apify.com/actor-badge?actor=<USERNAME>/<ACTOR>
3131
In order to embed the badge in the HTML documentation, just use it as an image wrapped in a link as shown in the example below. Don't froget to use the `username` and `actor-name` of your Actor.
3232

3333
#### Example
34-
<!-- vale off -->
34+
3535
<Tabs>
3636
<TabItem value="html" label="HTML" default>
3737
```html
@@ -40,13 +40,13 @@ In order to embed the badge in the HTML documentation, just use it as an image w
4040
</a>
4141
```
4242
</TabItem>
43-
<TabItem value="markdown" label="Markdown">
43+
<TabItem value="markdown" label="Markdown">
4444
```markdown
4545
[![Website Content Crawler Actor](https://apify.com/actor-badge?actor=apify/website-content-crawler)](https://apify.com/apify/website-content-crawler)
4646
```
4747
</TabItem>
4848
</Tabs>
49-
<!-- vale on -->
49+
5050
### Supported Actor states
5151

5252
The badge indicates the state of the Actor in the Apify platform as the result of the [automated testing](../development/automated_tests.md).

sources/platform/actors/running/usage_and_resources.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ A good middle ground is `4096MB`. If you need the results faster, increase the m
6363
Autoscaling only applies to solutions that run multiple tasks (URLs) for at least 30 seconds. If you need to scrape just one URL or use Actors like [Google Sheets](https://apify.com/lukaskrivka/google-sheets) that do just a single isolated job, we recommend you lower the memory.
6464

6565
[//]: # (TODO: It's pretty outdated, we now have platform credits in pricing)
66-
<!-- vale off -->
66+
6767
[//]: # (If you read that you can scrape 1000 pages of data for 1 CU and you want to scrape approximately 2 million of them monthly, that means you need 2000 CUs monthly and should [subscribe to the Business plan]&#40;https://console.apify.com/billing-new#/subscription&#41;.)
68-
<!-- vale on -->
68+
6969

7070
If the Actor doesn't have this information, or you want to use your own solution, just run your solution like you want to use it long term. Let's say that you want to scrape the data **every hour for the whole month**. You set up a reasonable memory allocation like `4096MB`, and the whole run takes 15 minutes. That should consume 1 CU (4 \* 0.25 = 1). Now, you just need to multiply that by the number of hours in the day and by the number of days in the month, and you get an estimated usage of 720 (1 \* 24 \* 30) CUs monthly.
7171

sources/platform/integrations/ai/milvus.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ Another way to interact with Milvus is through the [Apify Python SDK](https://do
8383
MILVUS_TOKEN = "YOUR-MILVUS-TOKEN"
8484
client = ApifyClient(APIFY_API_TOKEN)
8585
```
86-
<!-- vale off -->
87-
1. Call the [Website Content Crawler](https://apify.com/apify/website-content-crawler) Actor to crawl the Milvus documentation and Zilliz website and extract text content from the web pages:
86+
87+
2. Call the [Website Content Crawler](https://apify.com/apify/website-content-crawler) Actor to crawl the Milvus documentation and Zilliz website and extract text content from the web pages:
8888

8989

9090
```python
@@ -93,8 +93,8 @@ Another way to interact with Milvus is through the [Apify Python SDK](https://do
9393
)
9494
```
9595

96-
<!-- vale on -->
97-
1. Call Apify's Milvus integration and store all data in the Milvus Vector Database:
96+
97+
3. Call Apify's Milvus integration and store all data in the Milvus Vector Database:
9898

9999
```python
100100
milvus_integration_inputs = {

sources/platform/integrations/workflows-and-notifications/make.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ Congratulations! You have successfully connected the Apify app and can now use i
4646
### Watch Actor Runs
4747

4848
> Triggers when a selected Actor run is finished.
49-
<!-- vale off -->
49+
5050
<img src={require("../images/apify-make-trigger.png").default} width="50%" />
51-
<!-- vale on -->
51+
5252
| Input | Description |
5353
| :----------- | :--------------------------------------------------------------------- |
5454
| Webhook name | Enter the desired name for the webhook. E.g. Finished Web Scraper Run. |
@@ -70,9 +70,9 @@ Congratulations! You have successfully connected the Apify app and can now use i
7070
### Run a task
7171

7272
> Runs a selected Actor task.
73-
<!-- vale off -->
73+
7474
<img src={require("../images/apify-make-run-task.png").default} width="50%" />
75-
<!-- vale on -->
75+
7676
| Input | Description |
7777
| :------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------- |
7878
| Task | Select or map the task you want to run. |
@@ -82,9 +82,9 @@ Congratulations! You have successfully connected the Apify app and can now use i
8282
### Run an Actor
8383

8484
> Runs a selected Actor.
85-
<!-- vale off -->
85+
8686
<img src={require("../images/apify-make-run-actor.png").default} width="50%" />
87-
<!-- vale on -->
87+
8888

8989
| Input | Description |
9090
| :------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
@@ -100,9 +100,9 @@ Congratulations! You have successfully connected the Apify app and can now use i
100100
### Get Dataset Items
101101

102102
> Retrieves items from a [dataset](/platform/storage/dataset).
103-
<!-- vale off -->
103+
104104
<img src={require("../images/apify-make-dataset.png").default} width="50%" />
105-
<!-- vale on -->
105+
106106

107107
| Input | Description |
108108
| :------------------ | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

sources/platform/limits.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ slug: /limits
1313
---
1414

1515
The tables below demonstrate the Apify platform's default resource limits. For API limits such as rate limits and max payload size, see the [API documentation](https://docs.apify.com/api/v2#/introduction/rate-limiting).
16-
<!-- vale off -->
16+
1717
> If needed, the limits shown below can be increased on paid accounts. For details, contact us at **[[email protected]](mailto:[email protected])** or using the chat in [Apify Console](https://console.apify.com/) under the "Help & Resources → Contact Support".
18-
<!-- vale on -->
18+
1919
## Actor runtime limits {#actor-limits}
2020

2121
<table>

sources/platform/security.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ slug: /security
1616

1717
At Apify, security is the top priority of our daily work. Security best practices are reflected in our development, deployment, monitoring, and project management processes.
1818
Read the Apify Security Whitepaper for a full description of Apify's measures and commitments to security:
19-
<!-- vale off -->
19+
2020
<a href="https://apify.com/security-whitepaper.pdf" target="_blank" title="Apify Security Whitepaper">
2121
<img src={require("./images/security/whitepaper-cover.png").default} width="50%" title="Apify Security Whitepaper" />
2222
</a>
23-
<!-- vale on -->
23+
2424
## Reporting a vulnerability
2525

2626
If you notice or suspect a potential security breach, please report this immediately to our security team at [[email protected]](mailto:[email protected]), including all the technical details.

0 commit comments

Comments
 (0)