Scrapy, a fast high-level web crawling & scraping framework for Python.
Bugfix in parse command
elpolilla224d3c51858b
diff --git a/scrapy/trunk/scrapy/command/commands/parse.py b/scrapy/trunk/scrapy/command/commands/parse.pyindex 70a67d019..a7580c156 100644--- a/scrapy/trunk/scrapy/command/commands/parse.py+++ b/scrapy/trunk/scrapy/command/commands/parse.py@@ -32,7 +32,7 @@ class Command(ScrapyCommand):response = responses[0]spider = spiders.fromurl(response.url)if opts.identify:- result = spider.identify(response)+ result = spider.identify_products(response)elif hasattr(spider, 'parse_url'):result = spider.parse_url(response)else:diff --git a/scrapy/trunk/scrapy/contrib/spiders.py b/scrapy/trunk/scrapy/contrib/spiders.pyindex 6e24666a4..68da93b04 100644--- a/scrapy/trunk/scrapy/contrib/spiders.py+++ b/scrapy/trunk/scrapy/contrib/spiders.py@@ -92,7 +92,7 @@ class XMLFeedSpider(BasicSpider):or not using it (which just splits the tags using xpath)"""iternodes = True- itertag = 'product'+ itertag = 'item'def parse_item_wrapper(self, response, xSel):ret = self.parse_item(response, xSel)