Scrapy, a fast high-level web crawling & scraping framework for Python.
Fixed bug in parse command. Links from matching rules werent being extracted
elpolillacc2a69945828
diff --git a/scrapy/trunk/scrapy/command/commands/parse.py b/scrapy/trunk/scrapy/command/commands/parse.pyindex ddc0d8560..7ddb1ad5b 100644--- a/scrapy/trunk/scrapy/command/commands/parse.py+++ b/scrapy/trunk/scrapy/command/commands/parse.py@@ -85,6 +85,10 @@ class Command(ScrapyCommand):for rule in spider.rules:if rule.link_extractor.matches(response.url):ret_items, ret_links = self.run_method(spider, response, rule.callback, args, opts)+ extracted_links = rule.link_extractor.extract_urls(response)+ for link in extracted_links:+ links.add(Request(url=link.url, link_text=link.text))+items = items.union(ret_items)links = links.union(ret_links)else: