mirror of https://github.com/scrapy/scrapy.git
Update docs/topics/practices.rst
Co-authored-by: Andrey Rakhmatullin <wrar@wrar.name>
This commit is contained in:
parent
9d5a0d287b
commit
17e623cf0c
|
|
@ -128,6 +128,7 @@ Same example but using a non-default reactor, it's only necessary call
|
|||
|
||||
|
||||
configure_logging({"LOG_FORMAT": "%(levelname)s: %(message)s"})
|
||||
|
||||
from scrapy.utils.reactor import install_reactor
|
||||
|
||||
install_reactor("twisted.internet.asyncioreactor.AsyncioSelectorReactor")
|
||||
|
|
|
|||
Loading…
Reference in New Issue