mirror of https://github.com/scrapy/scrapy.git
added DEFAULT_SPIDER to default_settings and fixed formatting in DEFAULT_SPIDER setting documentation
--HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40658
This commit is contained in:
parent
c80fef7eb0
commit
5e63690939
|
|
@ -246,12 +246,11 @@ console.
|
|||
DEFAULT_SPIDER
|
||||
--------------
|
||||
|
||||
Default: None
|
||||
Default: ``None``
|
||||
|
||||
The default spider class that will be instantiated for urls for which no
|
||||
specific spider was found. This default class must have a constructor
|
||||
which receives as only parameter (apart of self) the domain name of the
|
||||
given url.
|
||||
specific spider is found. This class must have a constructor which receives as
|
||||
only parameter the domain name of the given url.
|
||||
|
||||
.. setting:: DEPTH_LIMIT
|
||||
|
||||
|
|
|
|||
|
|
@ -47,6 +47,8 @@ CONCURRENT_DOMAINS = 8 # number of domains to scrape in parallel
|
|||
|
||||
DEFAULT_ITEM_CLASS = 'scrapy.item.ScrapedItem'
|
||||
|
||||
DEFAULT_SPIDER = None
|
||||
|
||||
DEPTH_LIMIT = 0
|
||||
DEPTH_STATS = True
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue