Scrapy, a fast high-level web crawling & scraping framework for Python.
docs: Clarify there's one extension instance per spider
James McKinney3c5668d0db4b
diff --git a/docs/topics/extensions.rst b/docs/topics/extensions.rstindex 519f18b63..9e86fd0fe 100644--- a/docs/topics/extensions.rst+++ b/docs/topics/extensions.rst@@ -7,8 +7,7 @@ ExtensionsThe extensions framework provides a mechanism for inserting your owncustom functionality into Scrapy.-Extensions are just regular classes that are instantiated at Scrapy startup,-when extensions are initialized.+Extensions are just regular classes.Extension settings==================@@ -27,8 +26,8 @@ Loading & activating extensions===============================Extensions are loaded and activated at startup by instantiating a single-instance of the extension class. Therefore, all the extension initialization-code must be performed in the class ``__init__`` method.+instance of the extension class per spider being run. All the extension+initialization code must be performed in the class ``__init__`` method.To make an extension available, add it to the :setting:`EXTENSIONS` setting inyour Scrapy settings. In :setting:`EXTENSIONS`, each extension is represented