scrapy-plugins/scrapy-jsonrpc

how to install and enable in the scrapy project?

gamelife1314 opened this issue · 3 comments

how to install and enable in the scrapy project?

@gamelife1314 ,
you can install the package in your environment via pip:

pip install scrapy-jsonrpc

Then, you need to add the extension to your scrapy project's settings.py

EXTENSIONS = {
    'scrapy_jsonrpc.webservice.WebService': 500,
}

and finally enabled the extensions with JSONRPC_ENABLED=True in your settings.py also.

Does this help?

@redapple thank you!

You're welcome