IndexError: list index out of range
(3 additional frame(s) were not displayed)
...
File "scrapy/utils/python.py", line 353, in __next__
return next(self.data)
File "kingfisher_scrapy/spidermiddlewares.py", line 267, in process_spider_exception
raise exception
File "scrapy/core/spidermw.py", line 56, in _evaluate_iterable
for r in iterable:
File "kingfisher_scrapy/util.py", line 104, in wrapper
yield from decorated(self, response, **kwargs)
File "kingfisher_scrapy/spiders/pakistan_ppra_api.py", line 34, in parse_list
urls = json.loads(response.xpath('//body//text()').getall()[6].replace(",\r\n\r\nhttps://www.ppra.org.pk", ""))
Spider error processing %(request)s (referer: %(referer)s)
Sentry Issue: KINGFISHER-COLLECT-2G