Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

fix import of deprecated http handler for S3 handler

Daniel Grañae06836ff485f
diff --git a/scrapy/core/downloader/handlers/s3.py b/scrapy/core/downloader/handlers/s3.py
index 4c335e2c6..86fa99df6 100644
--- a/scrapy/core/downloader/handlers/s3.py
+++ b/scrapy/core/downloader/handlers/s3.py
@@ -1,7 +1,7 @@
from scrapy import optional_features
from scrapy.exceptions import NotConfigured
from scrapy.utils.httpobj import urlparse_cached
-from .http import HttpDownloadHandler
+from .http import HTTPDownloadHandler
try:
from boto.s3.connection import S3Connection
@@ -30,7 +30,7 @@ else:
class S3DownloadHandler(object):
def __init__(self, settings, aws_access_key_id=None, aws_secret_access_key=None, \
- httpdownloadhandler=HttpDownloadHandler):
+ httpdownloadhandler=HTTPDownloadHandler):
if 'boto' not in optional_features:
raise NotConfigured("missing boto library")