diff --git a/kingfisher_scrapy/spiders/nepal_dhangadhi.py b/kingfisher_scrapy/spiders/nepal_dhangadhi.py index 6cc22c71e..74dfb399a 100644 --- a/kingfisher_scrapy/spiders/nepal_dhangadhi.py +++ b/kingfisher_scrapy/spiders/nepal_dhangadhi.py @@ -28,4 +28,6 @@ def parse_list(self, response): pattern = 'https://admin.ims.susasan.org/ocds/json/dhangadhi-{}.json' data = response.json() for item in data['data']['fiscal_years']: - yield self.build_request(pattern.format(item['name']), formatter=components(-1)) + # A URL might redirect to https://admin.ims.susasan.org/login + yield self.build_request(pattern.format(item['name']), formatter=components(-1), + meta={'dont_redirect': True})