class documentation
class BaseRunSpiderCommand(ScrapyCommand): (source)
Known subclasses: scrapy.commands.crawl.Command
, scrapy.commands.parse.Command
, scrapy.commands.runspider.Command
Common class used to share functionality between the crawl, parse and runspider commands
Method | add |
Populate option parse with options available for this command |
Method | process |
Undocumented |
Inherited from ScrapyCommand
:
Method | __init__ |
Undocumented |
Method | help |
An extensive help for the command. It will be shown when using the "help" command. It can contain newlines since no post-formatting will be applied to its contents. |
Method | long |
A long description of the command. Return short description when not available. It cannot contain newlines since contents will be formatted by optparser which removes newlines and wraps text. |
Method | run |
Entry point for running commands |
Method | set |
Undocumented |
Method | short |
A short description of the command |
Method | syntax |
Command syntax (preferably one-line). Do not include command name. |
Class Variable | crawler |
Undocumented |
Class Variable | default |
Undocumented |
Class Variable | exitcode |
Undocumented |
Class Variable | requires |
Undocumented |
Instance Variable | settings |
Undocumented |
Instance Variable | _crawler |
Undocumented |
overridden in
scrapy.commands.parse.Command
Populate option parse with options available for this command