This commit is contained in:
Brad Ganley 2024-02-11 14:44:56 -06:00
parent 58733aed9d
commit 0a341eb270

View File

@ -58,7 +58,7 @@ def check_and_post_new_items():
if entry_url not in processed_entries: if entry_url not in processed_entries:
print(f"Found a new RSS item: {entry.title}") print(f"Found a new RSS item: {entry.title}")
# Create a Mastodon status # Create a Mastodon status
status = f"\n{entry.title}\n\n{entry.link}\n\n{TAG1}\s{TAG2}\s{TAG3}" status = f"\n{entry.title}\n\n{entry.link}\n\n{TAG1} {TAG2} {TAG3}"
# Post the status to Mastodon # Post the status to Mastodon
mastodon.status_post(status, visibility=TOOT_VISIBILITY) mastodon.status_post(status, visibility=TOOT_VISIBILITY)