1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-02-23 19:03:59 +00:00
scrapy/tests/pipelines.py

12 lines
197 B
Python
Raw Normal View History

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