You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
490 B
20 lines
490 B
# 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 VulcrawlPipeline:
|
|
def process_item(self, item, spider):
|
|
print(item)
|
|
return item
|
|
|
|
class Vulcrawl2Pipeline:
|
|
def process_item(self, item, spider):
|
|
print(item)
|
|
return item
|