From 98207f8f168ca129d5a77f5f5ec644edacf9fdcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Chaves?= Date: Wed, 15 Apr 2020 16:03:47 +0200 Subject: [PATCH] Update scrapy/downloadermiddlewares/uriuserinfo.py Co-Authored-By: Eugenio Lacuesta --- scrapy/downloadermiddlewares/uriuserinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrapy/downloadermiddlewares/uriuserinfo.py b/scrapy/downloadermiddlewares/uriuserinfo.py index e16657dab..7eabe15d6 100644 --- a/scrapy/downloadermiddlewares/uriuserinfo.py +++ b/scrapy/downloadermiddlewares/uriuserinfo.py @@ -3,7 +3,7 @@ from urllib.parse import unquote, urlunparse from scrapy.utils.httpobj import urlparse_cached -class UriUserinfoMiddleware(object): +class UriUserinfoMiddleware: """Downloader middleware that replaces `URI userinfo`_ data (user credentials for HTTP or FTP specified in the request URL) with the corresponding meta keys for later middlewares or download handlers to use them for