Source code for kingfisher_scrapy.spiders.nepal

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


[docs]class Nepal(PeriodicSpider): """ Domain Public Procurement Monitoring Office (PPMO) 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 '2018'. Bulk download documentation http://ppip.gov.np/downloads """ name = 'nepal' # BaseSpider ocds_version = '1.0' date_format = 'year' default_from_date = '2012' default_until_date = '2018' # HTTP 500 after 2018 # SimpleSpider data_type = 'release_package' # PeriodicSpider pattern = 'http://ppip.gov.np/bulk-download/{}' formatter = staticmethod(components(-1))