add config and rename main.py to spiderrss.py
This commit is contained in:
parent
66d9ba1fb5
commit
2e7e3da309
3 changed files with 81 additions and 26 deletions
17
config.py
Normal file
17
config.py
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# This defines the base directory for the feeds relative to this config file
|
||||
base_directory = '/home/denis/spiderrss'
|
||||
|
||||
# Update interval in minutes
|
||||
update_interval = 15
|
||||
|
||||
# Articles older than max_age will be deleted and not be added
|
||||
max_age = 365
|
||||
|
||||
# Enable verbose output
|
||||
verbose = True
|
||||
|
||||
# Feeds in the form (category, name, url) - the category can be empty ('')
|
||||
feeds = [
|
||||
('News', 'Tagesschau', 'https://www.tagesschau.de/xml/rss2'),
|
||||
('News', 'Vice', 'htdtps://www.vice.com/de/rss'),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue