-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
29 lines (26 loc) · 936 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
var PodcastDownloader = require('./src/podcastDownloader');
var options = {
path: '/home/administrateur/Documents/podcasts',
feeds: [{
id: 'afterFoot',
name: 'RMC - After foot',
rss: 'http://podcast.rmc.fr/channel59/RMCInfochannel59.xml',
ignore: ['top', 'invité']
}, {
id: 'teamDuga',
name: 'RMC - Team Duga',
rss: 'http://podcast.rmc.fr/channel280/RMCInfochannel280.xml',
ignore: ['top', 'invité']
}, {
id: 'moscatoShow',
name: 'RMC - Moscato Show',
rss: 'http://podcast.rmc.fr/channel131/RMCInfochannel131.xml',
ignore: ['débat']
}, {
id: 'appelTropCon',
name: 'Rire & Chansons - L\'appel trop con',
rss: 'http://www.rireetchansons.fr/rss/podcasts/feed-l-appel-trop-con-de-rire-chansons.xml'
}]
};
// options.feeds = options.feeds.slice(3, 4);
new PodcastDownloader(options).start();