mirror of https://github.com/scrapy/scrapy.git
Bugfix in parse command. Some options were not being processed
--HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40535
This commit is contained in:
parent
cf8b5fae37
commit
a98ba31816
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in New Issue