mercredi 2 septembre 2020

Unable to scrap JB-Hifi website using Scrapy in Python

I am trying to scrap this website to find out names if products and their respective prices from This_wesite using following python script which is using scrapy :

    def parse(self, response):
       name = response.css('div.product-tile__cta').extract()
       price = response.css('.price::text').extract()
       yield { 
                'name': name, 'price': price
       }

but this script is fetching None everytime




Aucun commentaire:

Enregistrer un commentaire