1from scrapy.spiders import XMLFeedSpider 2 3 4class $classname(XMLFeedSpider): 5 name = '$name' 6 allowed_domains = ['$domain'] 7 start_urls = ['http://$domain/feed.xml'] 8 iterator = 'iternodes' # you can change this; see the docs 9 itertag = 'item' # change it accordingly 10 11 def parse_node(self, response, selector): 12 item = {} 13 #item['url'] = selector.select('url').get() 14 #item['name'] = selector.select('name').get() 15 #item['description'] = selector.select('description').get() 16 return item 17