chango config format and add arguments

This commit is contained in:
Denis Lehmann 2020-04-14 21:42:02 +02:00
parent 426e68dce7
commit e97a6bd09b
4 changed files with 95 additions and 63 deletions

17
config.toml Normal file
View file

@ -0,0 +1,17 @@
# This defines the base directory for the feeds relative to this config file
base_directory = '~/spiderss'
# Articles older than max_age will be deleted and not be added
max_age = 30
# Feeds - the category can be empty ('')
[[feed]]
category = 'News'
name = 'Tagesschau'
url = 'https://www.tagesschau.de/xml/rss2'
[[feed]]
category = 'News'
name = 'Vice'
url = 'https://www.vice.com/de/rss'