Skip to content
This repository has been archived by the owner on Dec 28, 2023. It is now read-only.

[README.md] better info about parameters #16

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
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
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,16 @@ Crawlera middleware won't be able to handle them.
make better usage of concurrency options and avoid delays.

* `CRAWLERA_FETCH_DEFAULT_ARGS` (type `dict`, default `{}`)
Default values to be sent to the Crawlera Fetch API. For instance, set to `{"device": "mobile"}`
to render all requests with a mobile profile.
Default values to be sent to the Crawlera Fetch API. You can find parameters [on this page](https://docs.zyte.com/smart-proxy-manager/fetch-api.html#request-endpoint-parameters).
For example:

```python
'CRAWLERA_FETCH_DEFAULT_ARGS': {
'region': 'gb',
'waitfor_selector': '#cookieLoad',
'device': 'mobile'
}
```
pawelmhm marked this conversation as resolved.
Show resolved Hide resolved

### Log formatter

Expand Down