Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Bugfix in parse command. Some options were not being processed

elpolillaa98ba31816fa
diff --git a/scrapy/trunk/scrapy/command/commands/parse.py b/scrapy/trunk/scrapy/command/commands/parse.py
index 6856fa3d6..e82e01d6a 100644
--- a/scrapy/trunk/scrapy/command/commands/parse.py
+++ b/scrapy/trunk/scrapy/command/commands/parse.py
@@ -22,6 +22,7 @@ class Command(ScrapyCommand):
parser.add_option("-c", "--callbacks", dest="callbacks", action="store", help="use the provided callback(s) for parsing the url (separated with commas)")
def process_options(self, args, opts):
+ super(Command, self).process_options(args, opts)
self.callbacks = opts.callbacks.split(',') if opts.callbacks else []
def pipeline_process(self, item, spider, opts):