Scrapyc is a command line interface and client library for a scrapyd. Despite already existing scrapyd-client this client just works and has been well-tested.
Currently scrapyc is focused only on working with already deployed spiders. For deploying new spiders, please use the official option.
pip install scrapyc
Both python 2 and python 3 supported.
scrapyc --url=http://scraper1.your.host:6800 --username=r00t --password=pass status
Or you can use environemnt varialbes
export SCRAPYC_URL=http://scraper1.your.host:6800
export SCARPYC_USERNAME=r00t
export SCARPYC_PASSWORD=pass
scrapyc status
from scrapyc import ScrapydClient
c = ScrapydClient(url, username, password)
c.get_status()
c.schedule(project='yandex', spider='spider')