Skip to content

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.py
index 35449ef4d..c8a401d0f 100644
--- a/scrapy/contrib/downloadermiddleware/redirect.py
+++ b/scrapy/contrib/downloadermiddleware/redirect.py
@@ -3,7 +3,7 @@ from w3lib.url import urljoin_rfc
from scrapy import log
from scrapy.http import HtmlResponse
from scrapy.utils.response import get_meta_refresh
-from scrapy.exceptions import IgnoreRequest
+from scrapy.exceptions import IgnoreRequest, NotConfigured
from scrapy.conf import settings