Scrapy, a fast high-level web crawling & scraping framework for Python.
Fix warning to duplicated spider. Issue 2181
Erick6abd9ba843e5
diff --git a/scrapy/spiderloader.py b/scrapy/spiderloader.pyindex e6c3e64a5..6093c07c6 100644--- a/scrapy/spiderloader.py+++ b/scrapy/spiderloader.py@@ -27,7 +27,7 @@ class SpiderLoader(object):import warningswarnings.warn("There are several spiders with the same name (" + spcls.name +"), this can cause unexpected behavior", UserWarning)- self._spiders[spcls.name] = spcls+ self._spiders[spcls.name] = spclsdef _load_all_spiders(self):