{"id":13792305,"url":"https://github.com/scrapy-plugins/scrapy-jsonrpc","last_synced_at":"2025-12-17T19:04:15.712Z","repository":{"id":19741387,"uuid":"22997991","full_name":"scrapy-plugins/scrapy-jsonrpc","owner":"scrapy-plugins","description":"Scrapy extension to control spiders using JSON-RPC","archived":false,"fork":false,"pushed_at":"2019-08-26T05:39:07.000Z","size":47,"stargazers_count":300,"open_issues_count":9,"forks_count":71,"subscribers_count":24,"default_branch":"master","last_synced_at":"2025-05-19T17:14:39.288Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scrapy-plugins.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-15T17:51:13.000Z","updated_at":"2025-05-08T19:59:32.000Z","dependencies_parsed_at":"2022-09-07T10:03:09.031Z","dependency_job_id":null,"html_url":"https://github.com/scrapy-plugins/scrapy-jsonrpc","commit_stats":null,"previous_names":["scrapy/scrapy-jsonrpc"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/scrapy-plugins/scrapy-jsonrpc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scrapy-plugins%2Fscrapy-jsonrpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scrapy-plugins%2Fscrapy-jsonrpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scrapy-plugins%2Fscrapy-jsonrpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scrapy-plugins%2Fscrapy-jsonrpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scrapy-plugins","download_url":"https://codeload.github.com/scrapy-plugins/scrapy-jsonrpc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scrapy-plugins%2Fscrapy-jsonrpc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27785564,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-17T02:00:08.291Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T22:01:10.811Z","updated_at":"2025-12-17T19:04:15.696Z","avatar_url":"https://github.com/scrapy-plugins.png","language":"Python","readme":"==============\nscrapy-jsonrpc\n==============\n\nscrapy-jsonrpc is an extension to control a running Scrapy web crawler via\nJSON-RPC. The service provides access to the main Crawler object via the\n`JSON-RPC 2.0`_ protocol.\n\nInstallation\n============\n\nInstall scrapy-jsonrpc using ``pip``::\n\n    $ pip install scrapy-jsonrpc\n\nConfiguration\n=============\n\nFirst, you need to include the entension to your ``EXTENSIONS`` dict in\n``settings.py``, for example::\n\n    EXTENSIONS = {\n        'scrapy_jsonrpc.webservice.WebService': 500,\n    }\n\nThen, you need to enable the extension with the `JSONRPC_ENABLED`_ setting,\nset to ``True``.\n\nThe web server will listen on a port specified in `JSONRPC_PORT`_\n(by default, it will try to listen on port 6080),\nand will log to the file specified in `JSONRPC_LOGFILE`_.\n\nThe endpoint for accessing the crawler object is::\n\n    http://localhost:6080/crawler\n\n\nExample client\n==============\n\nThere is a command line tool provided for illustration purposes on how to build\na client. You can find it in ``example-client.py``. It supports a few basic\ncommands such as listing the running spiders, etc.\n\nSettings\n========\n\nThese are the settings that control the web service behaviour:\n\nJSONRPC_ENABLED\n---------------\n\nDefault: ``False``\n\nA boolean which specifies if the web service will be enabled (provided its\nextension is also enabled).\n\nJSONRPC_LOGFILE\n---------------\n\nDefault: ``None``\n\nA file to use for logging HTTP requests made to the web service. If unset web\nthe log is sent to standard scrapy log.\n\nJSONRPC_PORT\n------------\n\nDefault: ``[6080, 7030]``\n\nThe port range to use for the web service. If set to ``None`` or ``0``, a\ndynamically assigned port is used.\n\nJSONRPC_HOST\n------------\n\nDefault: ``'127.0.0.1'``\n\nThe interface the web service should listen on.\n\n.. _JSON-RPC 2.0: http://www.jsonrpc.org/\n","funding_links":[],"categories":["Apps"],"sub_categories":["Monitor"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscrapy-plugins%2Fscrapy-jsonrpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscrapy-plugins%2Fscrapy-jsonrpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscrapy-plugins%2Fscrapy-jsonrpc/lists"}