HubobelsPython/venv/lib/python3.9/site-packages/scrapy/templates/project/module/pipelines.py.tmpl
2022-01-02 21:50:48 +01:00

13 lines
368 B
Cheetah

# Define your item pipelines here
#
# Don't forget to add your pipeline to the ITEM_PIPELINES setting
# See: https://docs.scrapy.org/en/latest/topics/item-pipeline.html
# useful for handling different item types with a single interface
from itemadapter import ItemAdapter
class ${ProjectName}Pipeline:
def process_item(self, item, spider):
return item