@rnovec/scrapyd-api

1.0.1-beta • Public • Published

Node.js Scrapyd API

A Node.js wrapper for working with the Scrapyd API

Install

$ npm i scrapy-api

Usage

const ScrapydAPI = require('@rnovec/scrapyd-api')
const scrapyd = new ScrapydAPI()

scrapyd.schedule('default', 'test-spider').then(
  jobid => {
    console.log(jobid)
  },
  err => {
    console.log(err)
  }
)

API

scrapyd.schedule

Schedule a Scrapy spider

Readme

Keywords

Package Sidebar

Install

npm i @rnovec/scrapyd-api

Weekly Downloads

1

Version

1.0.1-beta

License

MIT

Unpacked Size

5.9 kB

Total Files

8

Last publish

Collaborators

  • rnovec