scrapy-jsonrpc
scrapy-jsonrpc is an extension to control a running Scrapy web crawler via JSON-RPC. The service provides access to the main Crawler object via the JSON-RPC 2.0 protocol.
It’s enabled by the JSONRPC_ENABLED setting. The web server will listen in the port specified in JSONRPC_PORT, and will log to the file specified in JSONRPC_LOGFILE.
The endpoint for accessing the crawler object is:
http://localhost:6080/crawler
Example client
There is a command line tool provided for illustration purposes on how to build a client. You can find it in example-client.py. It supports a few basic commands such as listing the running spiders, etc.
Settings
These are the settings that control the web service behaviour:
JSONRPC_ENABLED
Default: True
A boolean which specifies if the web service will be enabled (provided its extension is also enabled).
JSONRPC_LOGFILE
Default: None
A file to use for logging HTTP requests made to the web service. If unset web the log is sent to standard scrapy log.
JSONRPC_PORT
Default: [6080, 7030]
The port range to use for the web service. If set to None or 0, a dynamically assigned port is used.
JSONRPC_HOST
Default: '127.0.0.1'
The interface the web service should listen on.
Metadata
Release files for scrapy-jsonrpc 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| scrapy-jsonrpc-0.3.0.tar.gz | 5.2 kB | Without provenance | Details for scrapy-jsonrpc-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| scrapy_jsonrpc-0.3.0-py2-none-any.whl | Python 2 | none | any | Details for scrapy_jsonrpc-0.3.0-py2-none-any.whl |
Total release size: 12.0 kB
Release files / scrapy-jsonrpc-0.3.0.tar.gz
| Download URL | scrapy-jsonrpc-0.3.0.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d03381e2f3ba6ab6f2b67584df681e9c613847452187b18dffd3d6342e7b9bf3
|
|
BLAKE2b-256 checksum How to use checksums |
5187a19ea34b012ef68dcd5a3bbb2849fa345744b0e7c4620a102498e1a52785
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / scrapy_jsonrpc-0.3.0-py2-none-any.whl
| Download URL | scrapy_jsonrpc-0.3.0-py2-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
7144c3b4878e49470a53dee353ff9d21a8001431ebe24dce13d8604403fd263f
|
|
BLAKE2b-256 checksum How to use checksums |
7c64b7450af507272474f8e845d22a49807378e782ce8a641c7972bdbccb75f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for scrapy-jsonrpc 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.