Skip to content

Commit

Permalink
fix: rename peru_compras to peru_compras_api for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
yolile committed Dec 4, 2024
1 parent 48644b6 commit 5cb1efc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/spiders.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1143,12 +1143,12 @@ Paraguay
Peru
~~~~

.. autoclass:: kingfisher_scrapy.spiders.peru_compras.PeruCompras
.. autoclass:: kingfisher_scrapy.spiders.peru_compras_api.PeruComprasApi
:no-members:

.. code-block:: bash
scrapy crawl peru_compras
scrapy crawl peru_compras_api
.. autoclass:: kingfisher_scrapy.spiders.peru_compras_bulk.PeruComprasBulk
:no-members:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from kingfisher_scrapy.util import handle_http_error, parameters


class PeruCompras(PeruComprasBase):
class PeruComprasApi(PeruComprasBase):
"""
Domain
Peru Compras (contracts within framework agreements)
Expand All @@ -17,7 +17,7 @@ class PeruCompras(PeruComprasBase):
Download only data until this date (YYYY-MM-DD format). Defaults to today.
"""

name = 'peru_compras'
name = 'peru_compras_api'

# BaseSpider
default_from_date = '2017-01-01'
Expand Down

0 comments on commit 5cb1efc

Please sign in to comment.