mirror of
https://github.com/scrapy/scrapy.git
synced 2025-02-06 11:00:46 +00:00
17 lines
289 B
Python
17 lines
289 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 ProcessWithZeroDivisionErrorPipeline:
|
|
def process_item(self, item, spider):
|
|
1 / 0
|