Scrapy, a fast high-level web crawling & scraping framework for Python.
added missing import
Pablo Hoffman7d18fe18e2d4
diff --git a/scrapy/contrib/downloadermiddleware/redirect.py b/scrapy/contrib/downloadermiddleware/redirect.pyindex 35449ef4d..c8a401d0f 100644--- a/scrapy/contrib/downloadermiddleware/redirect.py+++ b/scrapy/contrib/downloadermiddleware/redirect.py@@ -3,7 +3,7 @@ from w3lib.url import urljoin_rfcfrom scrapy import logfrom scrapy.http import HtmlResponsefrom scrapy.utils.response import get_meta_refresh-from scrapy.exceptions import IgnoreRequest+from scrapy.exceptions import IgnoreRequest, NotConfiguredfrom scrapy.conf import settings