WEB_KG/baike/pipelines.py
2019-11-21 22:50:19 +08:00

12 lines
286 B
Python

# -*- coding: utf-8 -*-
# Define your item pipelines here
#
# Don't forget to add your pipeline to the ITEM_PIPELINES setting
# See: https://doc.scrapy.org/en/latest/topics/item-pipeline.html
class WebKgPipeline(object):
def process_item(self, item, spider):
return item