Visibility of post set to unlisted to prevent spam of the local feed
This commit is contained in:
parent
21a0768c8a
commit
7e86e9ad97
2
main.py
2
main.py
@ -58,7 +58,7 @@ def check_and_post_new_items():
|
|||||||
status = f"\n{entry.title}\n\n{entry.link}"
|
status = f"\n{entry.title}\n\n{entry.link}"
|
||||||
|
|
||||||
# Post the status to Mastodon
|
# Post the status to Mastodon
|
||||||
mastodon.status_post(status)
|
mastodon.status_post(status, visibility="unlisted")
|
||||||
|
|
||||||
# Add the entry URL to the processed_entries set
|
# Add the entry URL to the processed_entries set
|
||||||
processed_entries.add(entry_url)
|
processed_entries.add(entry_url)
|
||||||
|
Loading…
Reference in New Issue
Block a user