skip to Main Content

Html – CSS Notation for a Scrapy Spider Script

I wrote the below python script to return the item name, price, and link for items listed on https://shop.doverstreetmarket.com/collections/shops-noah import scrapy class DSMUKSpider(scrapy.Spider): name = 'dsmuk' start_urls = ['https://shop.doverstreetmarket.com/collections/shops-noah'] def parse(self, response): for dsmuk_product in response.css('article.h-full'): try: yield { 'name':…

VIEW QUESTION
Back To Top
Search