Skip to content

Commit

Permalink
add mexico puebla itaip spider
Browse files Browse the repository at this point in the history
  • Loading branch information
Ravf95 committed Dec 20, 2021
1 parent 8709d44 commit 5de1fb2
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/spiders.rst
Original file line number Diff line number Diff line change
Expand Up @@ -820,6 +820,13 @@ Mexico
scrapy crawl mexico_plataforma_digital_nacional
.. autoclass:: kingfisher_scrapy.spiders.mexico_puebla_itaip.MexicoPueblaITAIP
:no-members:

.. code-block:: bash
scrapy crawl mexico_puebla_itaip
.. autoclass:: kingfisher_scrapy.spiders.mexico_quien_es_quien_records.MexicoQuienEsQuienRecords
:no-members:

Expand Down
24 changes: 24 additions & 0 deletions kingfisher_scrapy/spiders/mexico_puebla_itaip.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
from kingfisher_scrapy.spiders.mexico_inai_base import MexicoINAIBase


class MexicoPueblaITAIP(MexicoINAIBase):
"""
Domain
Instituto de Transparencia, Acceso a la Información Pública y Protección de Datos Personales del Estado de Puebla
Spider arguments
from_date
Download only data from this year onward (YYYY format).
If ``until_date`` is provided, defaults to '2021'.
until_date
Download only data until this year (YYYY format).
If ``from_date`` is provided, defaults to the current year.
API documentation
http://189.240.12.27:4000/contratacionesabiertas/datosabiertos/
"""
name = 'mexico_puebla_itaip'

# BaseSpider
default_from_date = '2021'

# MexicoINAIBase
base_url = 'http://189.240.12.27:3000'

0 comments on commit 5de1fb2

Please sign in to comment.