def parse(self, response):
    item = ScrapyGoogleindexItem()
item['redirections'] = response.meta.get('redirect_times', 0)
item['redirect_status'] = response.meta['redirect_status']
return item
Захват кодов состояния http с помощью паука scrapy