from scrapy.spiders import CSVFeedSpider class ProductCsvSpider(CSVFeedSpider): name = "product_csv" start_urls = ["https://files.example.net/data/products.csv"] def parse_row(self, response, row): yield { "sku": row["sku"], "name": row["name"], "price": row["price"], "url": row["url"], }