Skip to content

Instantly share code, notes, and snippets.

@elinaldosoft
Created July 19, 2017 18:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elinaldosoft/28cdd4f40f900fd71642d747d23eb0c9 to your computer and use it in GitHub Desktop.
Save elinaldosoft/28cdd4f40f900fd71642d747d23eb0c9 to your computer and use it in GitHub Desktop.
# -*- coding: utf-8 -*-
import logging
logger = logging.getLogger(__name__)
# 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 CamaraPipeline(object):
def process_item(self, item, spider):
logger.info(item)
return item
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment