add some comments

This commit is contained in:
robin 2022-05-15 10:28:27 +02:00
parent 2e5f2777b3
commit 3f7283ef86
1 changed files with 16 additions and 0 deletions

16
settings.py.sample Normal file
View File

@ -0,0 +1,16 @@
# Change required
api_url = 'https://example.social' # Mastodon Server URL
bot_name = 'localfeedbot' # Botname
account_name = 'feedbot' # Mastodon-Account name
account_password = 'supersecret' # Mastodon-Account password
feeds = [
'https://rss.golem.de/rss.php?feed=RSS2.0',
'https://www.derstandard.at/rss/web',
'https://www.heise.de/rss/heise.rdf',
'https://www.zdf.de/rss/zdf/nachrichten'
]
# Make sure to change the setup when you edit the following settings
log_path = "./log/" # Stores feed info
data_path = "./data/" # Make sure this directory is not accessible for other users or per web
app_path = f"{data_path}.htapp.data" # Store app secret
user_path = f"{data_path}/.htuser.data" # Store user secret