@@ -10,10 +10,11 @@ scrapy-zyte-smartproxy |version| documentation
1010 news
1111
1212scrapy-zyte-smartproxy is a `Scrapy downloader middleware `_ to use one of
13- Zyte’s proxy APIs : either the proxy API of `Zyte API `_ or `Zyte Smart Proxy
14- Manager `_ (formerly Crawlera).
13+ Zyte’s proxy services : either the ` proxy mode `_ of `Zyte API `_ or `Zyte Smart
14+ Proxy Manager `_ (formerly Crawlera).
1515
1616.. _Scrapy downloader middleware : https://doc.scrapy.org/en/latest/topics/downloader-middleware.html
17+ .. _proxy mode : https://docs.zyte.com/zyte-api/usage/proxy-mode.html
1718.. _Zyte API : https://docs.zyte.com/zyte-api/get-started.html
1819.. _Zyte Smart Proxy Manager : https://www.zyte.com/smart-proxy-manager/
1920
@@ -52,7 +53,7 @@ Configuration
5253
5354#. Set the ``ZYTE_SMARTPROXY_URL `` Scrapy setting as needed:
5455
55- - To use the proxy API of Zyte API, set it to
56+ - To use the ` proxy mode `_ of ` Zyte API `_ , set it to
5657 ``http://api.zyte.com:8011 ``:
5758
5859 .. code-block :: python
@@ -76,14 +77,13 @@ Usage
7677=====
7778
7879Once the downloader middleware is properly configured, every request goes
79- through the configured Zyte proxy API .
80+ through the configured Zyte proxy service .
8081
8182.. _override :
8283
83- Although the plugin configuration only allows defining a single proxy API
84- endpoint and API key, it is possible to override them for specific requests, so
85- that you can use different combinations for different requests within the same
86- spider.
84+ Although the plugin configuration only allows defining a single proxy endpoint
85+ and API key, it is possible to override them for specific requests, so that you
86+ can use different combinations for different requests within the same spider.
8787
8888To **override ** which combination of endpoint and API key is used for a given
8989request, set ``proxy `` in the request metadata to a URL indicating both the
@@ -128,7 +128,7 @@ or using the DEFAULT_REQUEST_HEADERS_ setting. For example:
128128 },
129129 )
130130
131- .. _Zyte API proxy headers : https://docs.zyte.com/zyte-api/usage/proxy-api .html
131+ .. _Zyte API proxy headers : https://docs.zyte.com/zyte-api/usage/proxy-mode .html
132132.. _Zyte Smart Proxy Manager headers : https://docs.zyte.com/smart-proxy-manager.html#request-headers
133133.. _Scrapy headers : https://doc.scrapy.org/en/latest/topics/request-response.html#scrapy.http.Request.headers
134134.. _DEFAULT_REQUEST_HEADERS : https://doc.scrapy.org/en/latest/topics/settings.html#default-request-headers
0 commit comments