Skip to content

Commit

Permalink
make SCRAPY_POET_PROVIDERS configuration copy-pasteable (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
kmike authored Jul 12, 2023
1 parent a3f3e15 commit aeca861
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -820,12 +820,12 @@ scrapy-poet integration

``scrapy-zyte-api`` includes a `scrapy-poet provider`_ that you can use to get
data from Zyte API in page objects. It requires additional dependencies which
you can get by installing the optional ``provider`` feature, e.g. with
you can get by installing the optional ``provider`` feature:
``pip install scrapy-zyte-api[provider]``. Enable the provider in the Scrapy
settings::

SCRAPY_POET_PROVIDERS = {
ZyteApiProvider: 1100,
"scrapy_zyte_api.providers.ZyteApiProvider": 1100,
}

Request some supported dependencies in the page object::
Expand Down

0 comments on commit aeca861

Please sign in to comment.