Skip to content

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

added DEFAULT_SPIDER setting help

olveyra9b857124c158
diff --git a/scrapy/trunk/docs/ref/settings.rst b/scrapy/trunk/docs/ref/settings.rst
index 2620f29ae..ab69abce2 100644
--- a/scrapy/trunk/docs/ref/settings.rst
+++ b/scrapy/trunk/docs/ref/settings.rst
@@ -220,6 +220,17 @@ Example::
COMMANDS_SETTINGS_MODULE = 'mybot.conf.commands'
+.. setting:: CONCURRENT_DOMAINS
+
+CONCURRENT_DOMAINS
+------------------
+
+Default: ``8``
+
+Number of domains to scrape concurrently in one process. This doesn't affect
+the number of domains scraped concurrently by the Scrapy cluster which spawns a
+new process per domain.
+
.. setting:: DEFAULT_ITEM_CLASS
DEFAULT_ITEM_CLASS
@@ -230,16 +241,17 @@ Default: ``'scrapy.item.ScrapedItem'``
The default class that will be used for items, for example, in the shell
console.
-.. setting:: CONCURRENT_DOMAINS
+.. setting:: DEFAULT_SPIDER
-CONCURRENT_DOMAINS
-------------------
+DEFAULT_SPIDER
+--------------
-Default: ``8``
+Default: None
-Number of domains to scrape concurrently in one process. This doesn't affect
-the number of domains scraped concurrently by the Scrapy cluster which spawns a
-new process per domain.
+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.
.. setting:: DEPTH_LIMIT