mirror of
https://gitlab.com/octospacc/bottocto
synced 2025-06-05 22:19:22 +02:00
Add README, commit Config
This commit is contained in:
30
MastodonFeedHTML/Example.Config.py
Normal file
30
MastodonFeedHTML/Example.Config.py
Normal file
@ -0,0 +1,30 @@
|
||||
# Feeds configuration.
|
||||
Feeds = [
|
||||
{
|
||||
"URLs": ["https://mastodon.social/@Mastodon", "https://botsin.space/@sitoctt"], # List of Mastodon profile URLs to scrape.
|
||||
"IncludeRetoots": True,
|
||||
"IncludeReplies": True,
|
||||
"LocalSave": True, # Whether or not to save posts as HTML files locally.
|
||||
"SendMail": False, # Whether or not to send posts via email.
|
||||
"MailTo": ["example@example.com"] # List of email recipients.
|
||||
}
|
||||
]
|
||||
|
||||
# SMTP configuration (only required for sending mail).
|
||||
MailUsername = "example@example.com"
|
||||
MailPassword = "Example"
|
||||
MailServer = "smtp.example.com"
|
||||
MailPort = 465
|
||||
|
||||
# How often to refresh the feeds (in seconds). Set to 0 for a single run, instead of having the program sleep.
|
||||
LoopTime = 300
|
||||
|
||||
# Additional time (in seconds) to sleep between every mail sent, to prevent spam.
|
||||
MailSleep = 10
|
||||
|
||||
# Whether or not to allow spaces in file names.
|
||||
SpacesInFiles = True
|
||||
|
||||
# Other advanced settings.
|
||||
AppName = "MastodonFeedHTML"
|
||||
UserAgent = AppName
|
Reference in New Issue
Block a user