Source code for kingfisher_scrapy.spiders.united_kingdom_fts_test

import scrapy

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

[docs]class UnitedKingdomFTSTest(LinksSpider): """ Domain Find a Tender Service (FTS) Caveats This spider uses a test service that returns test data. For getting real data see ``uk_fts`` instead. """ name = 'united_kingdom_fts_test' # BaseSpider skip_pluck = 'Already covered (see code for details)' # uk_fts # SimpleSpider data_type = 'release_package' # LinksSpider formatter = staticmethod(parameters('cursor')) def start_requests(self): # This URL was provided by the publisher and is not the production URL. url = '' yield scrapy.Request(url, meta={'file_name': 'start.json'}, headers={'Accept': 'application/json'})