mirror of https://github.com/scrapy/scrapy.git
Use the MyHandler class directly.
This commit is contained in:
parent
d8c5b41559
commit
b67a81b81d
|
|
@ -186,4 +186,4 @@ Use a fallback component:
|
|||
settings.getwithbase("DOWNLOAD_HANDLERS")["https"],
|
||||
"addon",
|
||||
)
|
||||
settings["DOWNLOAD_HANDLERS"]["https"] = "path.to.MyHandler"
|
||||
settings["DOWNLOAD_HANDLERS"]["https"] = MyHandler
|
||||
|
|
|
|||
Loading…
Reference in New Issue