Source code for kingfisher_scrapy.spiders.georgia_records

import scrapy

from kingfisher_scrapy.base_spiders import LinksSpider
from kingfisher_scrapy.util import parameters


[docs]class GeorgiaRecords(LinksSpider): """ Domain State Procurement Agency (SPA) Bulk download documentation https://odapi.spa.ge/publication-policy Swagger API documentation https://odapi.spa.ge/api/swagger.ui """ name = 'georgia_records' # BaseSpider skip_pluck = 'Already covered (see code for details)' # georgia_releases # SimpleSpider data_type = 'record_package' # LinksSpider formatter = staticmethod(parameters('page')) def start_requests(self): url = 'https://odapi.spa.ge/api/records.json' yield scrapy.Request(url, meta={'file_name': 'page-1.json'})