Scrapy, a fast high-level web crawling & scraping framework for Python.
item pipeline: added check for domain not already closed
Pablo Hoffman5e3ef5a2fd0f
diff --git a/scrapy/item/pipeline.py b/scrapy/item/pipeline.pyindex 6dced5ae7..34911ff9d 100644--- a/scrapy/item/pipeline.py+++ b/scrapy/item/pipeline.py@@ -51,10 +51,10 @@ class ItemPipelineManager(object):This pipeline is configurable with the ITEM_PIPELINES setting"""- if not self.pipeline:+ domain = spider.domain_name+ if not self.pipeline or domain not in self.domaininfo:return defer_succeed(item)- domain = spider.domain_namepipeline = self.pipeline[:]current_stage = pipeline[0]info = self.domaininfo[domain]