Scrapy, a fast high-level web crawling & scraping framework for Python.
download delay in autothrottle was being casted as int, should be float
Martin Olveyra421dba98a7c6
diff --git a/scrapy/contrib/throttle.py b/scrapy/contrib/throttle.pyindex 4b82d708a..d4d7762f1 100644--- a/scrapy/contrib/throttle.py+++ b/scrapy/contrib/throttle.py@@ -21,8 +21,8 @@ class AutoThrottle(object):self.last_lat = self.START_DELAY, 0.0def _min_download_delay(self, settings):- return max(settings.getint("AUTOTHROTTLE_MIN_DOWNLOAD_DELAY"),- settings.getint("DOWNLOAD_DELAY"))+ return max(settings.getfloat("AUTOTHROTTLE_MIN_DOWNLOAD_DELAY"),+ settings.getfloat("DOWNLOAD_DELAY"))def _max_concurency(self, settings):delay = self._min_download_delay(settings)