Scrapy, a fast high-level web crawling & scraping framework for Python.
Simplify parse command
Eugenio Lacuestac887fe37adfe
diff --git a/scrapy/commands/parse.py b/scrapy/commands/parse.pyindex d5abe5930..1cefed106 100644--- a/scrapy/commands/parse.py+++ b/scrapy/commands/parse.py@@ -146,9 +146,8 @@ class Command(ScrapyCommand):if not self.spidercls:logger.error('Unable to find spider for: %(url)s', {'url': url})- # Request requires callback argument as callable or None, not stringdef _start_requests(spider):- yield self.prepare_request(spider, Request(url, None), opts)+ yield self.prepare_request(spider, Request(url), opts)self.spidercls.start_requests = _start_requestsdef start_parsing(self, url, opts):