Scrapy, a fast high-level web crawling & scraping framework for Python.
fixed bug which was causing the DOWNLOAD_DELAY setting to be ignored (the spider download_delay attribute was working though)
Pablo Hoffman53dfc4d3dd5d
diff --git a/scrapy/core/downloader/manager.py b/scrapy/core/downloader/manager.pyindex ad80c6caa..b53db5811 100644--- a/scrapy/core/downloader/manager.py+++ b/scrapy/core/downloader/manager.py@@ -23,7 +23,7 @@ class SpiderInfo(object):self.download_delay = settings.getfloat('DOWNLOAD_DELAY')else:self.download_delay = download_delay- if download_delay:+ if self.download_delay:self.max_concurrent_requests = 1elif max_concurrent_requests is None:self.max_concurrent_requests = settings.getint('CONCURRENT_REQUESTS_PER_SPIDER')