mirror of
https://github.com/scrapy/scrapy.git
synced 2025-03-13 17:24:57 +00:00
19 lines
291 B
Python
19 lines
291 B
Python
"""
|
|
Some pipelines used for testing
|
|
"""
|
|
|
|
|
|
class ZeroDivisionErrorPipeline:
|
|
|
|
def open_spider(self, spider):
|
|
1 / 0
|
|
|
|
def process_item(self, item, spider):
|
|
return item
|
|
|
|
|
|
class ProcessWithZeroDivisionErrorPipiline:
|
|
|
|
def process_item(self, item, spider):
|
|
1 / 0
|