mirror of https://github.com/scrapy/scrapy.git
Update scrapy/downloadermiddlewares/uriuserinfo.py
Co-Authored-By: Eugenio Lacuesta <elacuesta@users.noreply.github.com>
This commit is contained in:
parent
a0bcdd7d4d
commit
98207f8f16
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue