changed post text
This commit is contained in:
parent
d7a71f9a30
commit
6eda268557
2
main.py
2
main.py
@ -55,7 +55,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"New RSS item:\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)
|
||||||
|
Loading…
Reference in New Issue
Block a user