I'm trying to get a full picture of my crawls in a database (mySQL).
So I need any errback
stuff to get logged to the database.
Is it possible to pass errback
to the pipelines?
I currently have it set up like so:
Reponse -> (Item) -> Pipeline
When the pipeline starts it creates an entry for that crawl (through open_spider
). That entry's table ID is then stored as a variable in the pipeline. Which is why I can't log the errback
through the spider itself.
Or is there a way to pass the crawl_id
ID from the pipeline to the spider's errback
?