2016-11-08 11:35:42 +01:00
|
|
|
"""
|
2016-11-08 13:30:51 +01:00
|
|
|
Some pipelines used for testing
|
2016-11-08 11:35:42 +01:00
|
|
|
"""
|
|
|
|
|
|
|
|
class ZeroDivisionErrorPipeline(object):
|
|
|
|
|
|
|
|
def open_spider(self, spider):
|
|
|
|
a = 1/0
|
|
|
|
|
|
|
|
def process_item(self, item, spider):
|
|
|
|
return item
|