def parse_product(self, response):
    product_name = response.css('h1.pd__header::text').extract()[0]
    product_image = response.css('img.pd__image::attr(src)').extract()[0]
    item = SainsburysItem()
    item['url'] = response.url
    item['name'] = product_name
    item['image'] = product_image
    (yield item)
def parse_product(self, response):
    product_name = response.css('h1.pd__header::text').extract()[0]
    product_image = response.css('img.pd__image::attr(src)').extract()[0]
    item = SainsburysItem()
    item['url'] = response.url
    item['name'] = product_name
    item['image'] = product_image
    (yield item)