1from scrapy.spiders import CSVFeedSpider 2 3 4class $classname(CSVFeedSpider): 5 name = '$name' 6 allowed_domains = ['$domain'] 7 start_urls = ['http://$domain/feed.csv'] 8 # headers = ['id', 'name', 'description', 'image_link'] 9 # delimiter = '\t' 10 11 # Do any adaptations you need here 12 #def adapt_response(self, response): 13 # return response 14 15 def parse_row(self, response, row): 16 i = {} 17 #i['url'] = row['url'] 18 #i['name'] = row['name'] 19 #i['description'] = row['description'] 20 return i 21