A Node.js wrapper for working with the Scrapyd API
$ npm i @rnovec/scrapyd-api
const ScrapydAPI = require('@rnovec/scrapyd-api')
const scrapyd = new ScrapydAPI()
scrapyd.schedule('default', 'test-spider').then(
jobid => {
console.log(jobid)
},
err => {
console.log(err)
}
)
Schedule a Scrapy spider