1.0.2 • Published 5 years ago

podcast-downloader v1.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

podcast-downloader Build Status

node module to download Podcasts from a RSS feed

Install

$ npm install podcast-downloader

Usage

const podcast = require('podcast-downloader');

(async () => {
    let episodes = await podcast("<Podcast RSS url...>", "Desktop/");
    //download all episodes
    
    await podcast("https://collegeinfogeek.com/podcast", "Desktop/",10);
    // downloads the first 10 episodes from college info geek

})();

API

podcast(url, output);

Downloads all episodes from the RSS feed, saves them inside the output folder Returns a Promise that holds an Array with all downloaded episodes and additional information.

podcast(url, output, limit);

Downloads episodes from the RSS feed until the limit is reached, saves them inside the output folder Returns a Promise that holds an Array with all downloaded episodes and additional information.

url

Type: string

Url to the podcast rss feed

output

Type: string

Where to save the videos.

limit

Type: integer

limits the podcast downloads, if not defined, every episode in the feed will be downloaded

Related

License

MIT © Julian Beck