Skip to content

Instantly share code, notes, and snippets.

@datahutrepo
Created October 5, 2016 06:02
Show Gist options
  • Save datahutrepo/9148bcb75ec695b95c9b1625c8f9c0e1 to your computer and use it in GitHub Desktop.
Save datahutrepo/9148bcb75ec695b95c9b1625c8f9c0e1 to your computer and use it in GitHub Desktop.
# -*- coding: utf-8 -*-
# Define here the models for your scraped items
#
# See documentation in:
# http://doc.scrapy.org/en/latest/topics/items.html
import scrapy
class AmazonItem(scrapy.Item):
# define the fields for your item here like:
product_name = scrapy.Field()
product_sale_price = scrapy.Field()
product_category = scrapy.Field()
product_original_price = scrapy.Field()
product_availability = scrapy.Field()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment