Source code for kingfisher_scrapy.spiders.nigeria_budeshi_records

from kingfisher_scrapy.spiders.nigeria_budeshi_base import NigeriaBudeshiBase
from kingfisher_scrapy.util import components


[docs]class NigeriaBudeshiRecords(NigeriaBudeshiBase): """ Domain Budeshi Nigeria API documentation https://budeshi.ng/Api """ name = 'nigeria_budeshi_records' # SimpleSpider data_type = 'record_package' def build_urls(self, project): yield self.build_request(f'{self.base_url}record/{project["id"]}', formatter=components(-2))