I got stuck trying to work out a solution…
My Scrapy spider crawls a site and gets some data into item then returns a request based on the data scraped and goes to crawl some other site in order to complete the item.
What it happens is that sometimes the second URL can return errors so item does not get outputted and as well.
How can I carry the item to the errback function?
Thanks in advance.
From the docs:
Try to use lambda: