Skip to content

Commit 90dde0e

Browse files
authored
docs: fix some typos (#1521)
fix typos + ignore *~ Signed-off-by: John E <jeis4wpi@outlook.com>
1 parent c6184cf commit 90dde0e

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ htmlcov
3030
# IDE, editors
3131
.vscode
3232
.idea
33+
*~
3334
.DS_Store
3435
.nvim.lua
3536
Session.vim

docs/guides/avoid_blocking.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Changing browser fingerprints can be a tedious job. Luckily, Crawlee provides th
2525
{PlaywrightDefaultFingerprintGenerator}
2626
</RunnableCodeBlock>
2727

28-
In certain cases we want to narrow down the fingerprints used - e.g. specify a certain operating system, locale or browser. This is also possible with Crawlee - the crawler can have the generation algorithm customized to reflect the particular browser version and many more. For description of fingerprint generation options please see <ApiLink to="class/HeaderGeneratorOptions">`HeaderGeneratorOptions`</ApiLink>, <ApiLink to="class/ScreenOptions">`ScreenOptions`</ApiLink> and <ApiLink to="class/BrowserforgeFingerprintGenerator#__init__">`DefaultFingerprintGenerator.__init__`</ApiLink> See the example bellow:
28+
In certain cases we want to narrow down the fingerprints used - e.g. specify a certain operating system, locale or browser. This is also possible with Crawlee - the crawler can have the generation algorithm customized to reflect the particular browser version and many more. For description of fingerprint generation options please see <ApiLink to="class/HeaderGeneratorOptions">`HeaderGeneratorOptions`</ApiLink>, <ApiLink to="class/ScreenOptions">`ScreenOptions`</ApiLink> and <ApiLink to="class/BrowserforgeFingerprintGenerator#__init__">`DefaultFingerprintGenerator.__init__`</ApiLink> See the example below:
2929

3030
<CodeBlock className="language-python">
3131
{PlaywrightDefaultFingerprintGeneratorWithArgs}

docs/introduction/09_running_in_cloud.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ apify login
5050

5151
Now that you have your account set up, you will need to adjust the code a tiny bit. We will use the [Apify SDK](https://docs.apify.com/sdk/python/), which will help us to wire the Crawlee storages (like the [`RequestQueue`](https://docs.apify.com/sdk/python/reference/class/RequestQueue)) to their Apify platform counterparts - otherwise Crawlee would keep things only in memory.
5252

53-
Open your `src/main.py` file, and wrap everyting in your `main` function with the [`Actor`](https://docs.apify.com/sdk/python/reference/class/Actor) context manager. Your code should look like this:
53+
Open your `src/main.py` file, and wrap everything in your `main` function with the [`Actor`](https://docs.apify.com/sdk/python/reference/class/Actor) context manager. Your code should look like this:
5454

5555
<CodeBlock className="language-python" title="src/main.py">
5656
{MainExample}

src/crawlee/browsers/_playwright_browser_controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ async def _create_browser_context(
216216
browser_new_context_options = dict(browser_new_context_options) if browser_new_context_options else {}
217217
if proxy_info:
218218
if browser_new_context_options.get('proxy'):
219-
logger.warning("browser_new_context_options['proxy'] overriden by explicit `proxy_info` argument.")
219+
logger.warning("browser_new_context_options['proxy'] overridden by explicit `proxy_info` argument.")
220220

221221
browser_new_context_options['proxy'] = ProxySettings(
222222
server=f'{proxy_info.scheme}://{proxy_info.hostname}:{proxy_info.port}',

0 commit comments

Comments
 (0)