From 44be1b215496461b55484009e7209d4c955fc10f Mon Sep 17 00:00:00 2001 From: Pawel Miech Date: Mon, 22 Mar 2021 11:14:43 +0100 Subject: [PATCH] [README.md] better info about parameters --- README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e744965..209c319 100644 --- a/README.md +++ b/README.md @@ -64,9 +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: + + ``` +'CRAWLERA_FETCH_DEFAULT_ARGS': { + 'region': 'gb', + 'waitfor_selector': '#cookieLoad', + 'device': 'mobile' +} +``` ### Log formatter Since the URL for outgoing requests is modified by the middleware, by default the logs will show