4.3.0 • Published 4 years ago

gideon-rssfinder v4.3.0

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

RSS Finder NPM version Build Status Dependency Status Coverage Status

Version: 2.1.4

Installation

Run npm install rss-finder

Usage

'use strict';

var rssFinder = require('rss-finder');

rssFinder('http://www.nytimes.com').then(function(res) {
    console.log(res);
}).catch(function(err) {
    console.log(err);
});

// or

rssFinder({
    url: 'http://www.nytimes.com'
}).then(function(res) {
    console.log(res);
}).catch(function(err) {
    console.log(err);
});

Response

{
    site: {
        title: 'The New York Times - Breaking News, World News & Multimedia',
        favicon: 'http://static01.nyt.com/favicon.ico',
        url: 'http://www.nytimes.com'
    },
    feedUrls:[{
        title: 'RSS',
        url: 'http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml'
    }]
}

API

rssFinder(options)

options

Type: String | Object

url

Type: String

gotOptions

This object is passed to got options directly (refer to got documentation).

feedParserOptions

This object is passed to feedparser options directly (refer to feedparser documentation).

License

MIT © 2019 Gergely Kovács (gg.kovacs@gmail.com)

4.3.0

4 years ago

4.2.0

4 years ago

4.1.0

4 years ago

4.0.0

4 years ago

3.8.0

4 years ago

3.9.0

4 years ago

3.7.0

4 years ago

3.6.0

4 years ago

3.5.0

4 years ago

3.4.0

4 years ago

3.3.0

4 years ago

3.2.0

4 years ago

3.1.0

4 years ago

3.0.0

4 years ago

2.1.4

4 years ago