Skip to content

Commit

Permalink
Update mexico_inai_api
Browse files Browse the repository at this point in the history
  • Loading branch information
aguilerapy committed Oct 27, 2021
1 parent 6083a8d commit a08a3e4
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions kingfisher_scrapy/spiders/mexico_inai_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,16 @@ class MexicoINAIAPI(MexicoINAIBase):
Instituto Nacional de Transparencia, Acceso a la Información y Protección de Datos Personales (INAI)
Spider arguments
from_date
Download only data from this year onward (YYYY format). Defaults to '2015'.
Download only data from this year onward (YYYY format).
If ``until_date`` is provided, defaults to '2015'.
until_date
Download only data until this year (YYYY format). Defaults to '2021'.
Download only data until this year (YYYY format).
If ``from_date`` is provided, defaults to the current year.
API documentation
http://contratacionesabiertas.inai.org.mx/contratacionesabiertas/datosabiertos
"""
name = 'mexico_inai_api'
domain_pattern = 'http://contratacionesabiertas.inai.org.mx:3000/{}'

# BaseSpider
default_from_date = '2015'
default_until_date = '2021'

# PeriodicSpider
pattern = 'http://contratacionesabiertas.inai.org.mx:3000/edca/contractingprocess/{}'

0 comments on commit a08a3e4

Please sign in to comment.