Scrapy爬取亚马逊商品价格

 

# -*- coding: utf-8 -*-
# Define here the models for your scraped items
#
# See documentation in:
 
import scrapy
class YamaxunItem(scrapy.Item):
    price = scrapy.Field()
    descript = scrapy.Field()
    URL = scrapy.Field()
    Photo = scrapy.Field()

  

编程技巧