# -*- coding: utf-8 -*-

# Define your item pipelines here
#
# Don't forget to add your pipeline to the ITEM_PIPELINES setting
# See: http://doc.scrapy.org/en/latest/topics/item-pipeline.html


class QiantuPipeline(object):
    def process_item(self, item, spider):
        temp  = dict(item)
        for i in temp:
            if not temp[i]:
                item[i] = ''
        return item


