diff --git a/.gitignore b/.gitignore index 880ae2e46e..5b8912e7ad 100644 --- a/.gitignore +++ b/.gitignore @@ -30,6 +30,7 @@ htmlcov # IDE, editors .vscode .idea +*~ .DS_Store .nvim.lua Session.vim diff --git a/docs/guides/avoid_blocking.mdx b/docs/guides/avoid_blocking.mdx index 3ada4e2446..423338dcfe 100644 --- a/docs/guides/avoid_blocking.mdx +++ b/docs/guides/avoid_blocking.mdx @@ -25,7 +25,7 @@ Changing browser fingerprints can be a tedious job. Luckily, Crawlee provides th {PlaywrightDefaultFingerprintGenerator} -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 `HeaderGeneratorOptions`, `ScreenOptions` and `DefaultFingerprintGenerator.__init__` See the example bellow: +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 `HeaderGeneratorOptions`, `ScreenOptions` and `DefaultFingerprintGenerator.__init__` See the example below: {PlaywrightDefaultFingerprintGeneratorWithArgs} diff --git a/docs/introduction/09_running_in_cloud.mdx b/docs/introduction/09_running_in_cloud.mdx index 60044a8bcd..db8273f94f 100644 --- a/docs/introduction/09_running_in_cloud.mdx +++ b/docs/introduction/09_running_in_cloud.mdx @@ -50,7 +50,7 @@ apify login 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. -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: +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: {MainExample} diff --git a/src/crawlee/browsers/_playwright_browser_controller.py b/src/crawlee/browsers/_playwright_browser_controller.py index 9f04bb2861..ba9aa60db8 100644 --- a/src/crawlee/browsers/_playwright_browser_controller.py +++ b/src/crawlee/browsers/_playwright_browser_controller.py @@ -216,7 +216,7 @@ async def _create_browser_context( browser_new_context_options = dict(browser_new_context_options) if browser_new_context_options else {} if proxy_info: if browser_new_context_options.get('proxy'): - logger.warning("browser_new_context_options['proxy'] overriden by explicit `proxy_info` argument.") + logger.warning("browser_new_context_options['proxy'] overridden by explicit `proxy_info` argument.") browser_new_context_options['proxy'] = ProxySettings( server=f'{proxy_info.scheme}://{proxy_info.hostname}:{proxy_info.port}',