the-crawler-rss

1.0.2 • Public • Published

the-crawler-rss

Build Status npm Version JS Standard

Crawler for RSS

Installation

$ npm install the-crawler-rss --save

Usage

'use strict'
 
const theDB = require('the-db')
const { TheRSSCrwl } = require('the-crawler-rss')
 
async function tryExample () {
  const db = theDB({ /* ... */ })
 
  {
    let crawler = new TheRSSCrwl({
      name: 'myRSSCrwl',
      resources: {
        Site: db.resource('RSSSite'),
        Feed: db.resource('RSSFeed')
      }
    })
 
    await crawler.run({
      url: 'http://www.moguravr.com/feed/'
    })
  }
}
 
tryExample().catch((err) => console.error(err))
 

API Guide

License

This software is released under the MIT License.

Links

Readme

Keywords

Package Sidebar

Install

npm i the-crawler-rss

Weekly Downloads

1

Version

1.0.2

License

MIT

Last publish

Collaborators

  • okunishinishi