SEP | 10 |
Title | REST API |
Author | Pablo Hoffman |
Created | 2009-11-16 |
Status | Obsolete (JSON-RPC API implemented instead) |
This SEP proposes a JSON REST API for controlling Scrapy in server-mode, which
is launched with: scrapy-ctl.py start
GET /spiders/all
GET /spiders/closed
GET /spiders/scheduled
Note
contains closed
GET /spiders/opened
- returns list of dicts containing spider
id
anddomain_name
POST /spiders
- args:
schedule=example.com
POST /spider/1238/close
GET /stats
Note
spider-specific not included
GET /spider/1238/stats/
GET /engine/status