Source code for kingfisher_scrapy.spiders.honduras_sefin_bulk

from kingfisher_scrapy.base_spiders import CompressedFileSpider, PeriodicSpider
from kingfisher_scrapy.util import components

[docs]class HondurasSEFINBulk(CompressedFileSpider, PeriodicSpider): """ Domain Secretaria de Finanzas de Honduras (SEFIN) Spider arguments from_date Download only data from this year onward (YYYY format). Defaults to '2012'. until_date Download only data until this year (YYYY format). Defaults to the current year. Bulk download documentation Swagger API documentation """ name = 'honduras_sefin_bulk' # BaseSpider date_format = 'year' default_from_date = '2012' line_delimited = True # SimpleSpider data_type = 'release_package' # PeriodicSpider pattern = '{}.zip' formatter = staticmethod(components(-1))