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:
Pablo Hoffman 2009-01-06 16:42:59 +00:00
parent c80fef7eb0
commit 5e63690939
2 changed files with 5 additions and 4 deletions

View File

@ -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

View File

@ -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