Update scrapy/downloadermiddlewares/uriuserinfo.py

Co-Authored-By: Eugenio Lacuesta <elacuesta@users.noreply.github.com>
This commit is contained in:
Adrián Chaves 2020-04-15 16:03:47 +02:00 committed by GitHub
parent a0bcdd7d4d
commit 98207f8f16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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