Aevann 2024-02-16 23:13:42 +02:00
parent 9009fa7d92
commit e200a011c6
1 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,8 @@ def lemmy_mentions_task():
selftext = thing["body"][:5000]
text += f'<br><blockquote><p>{selftext}</p></blockquote>'
if 'erdrama' in text: continue
permalink = thing['ap_id']
text = f'New site mention by {author_string}\n\n{permalink}\n\n{text}'
text = sanitize(text, blackjack="lemmy mention", golden=False)