fix this https://rdrama.net/h/changelog/post/165657/changelog-megathread-marseynotes/5958269#context
parent
9009fa7d92
commit
e200a011c6
|
@ -28,6 +28,8 @@ def lemmy_mentions_task():
|
||||||
selftext = thing["body"][:5000]
|
selftext = thing["body"][:5000]
|
||||||
text += f'<br><blockquote><p>{selftext}</p></blockquote>'
|
text += f'<br><blockquote><p>{selftext}</p></blockquote>'
|
||||||
|
|
||||||
|
if 'erdrama' in text: continue
|
||||||
|
|
||||||
permalink = thing['ap_id']
|
permalink = thing['ap_id']
|
||||||
text = f'New site mention by {author_string}\n\n{permalink}\n\n{text}'
|
text = f'New site mention by {author_string}\n\n{permalink}\n\n{text}'
|
||||||
text = sanitize(text, blackjack="lemmy mention", golden=False)
|
text = sanitize(text, blackjack="lemmy mention", golden=False)
|
||||||
|
|
Loading…
Reference in New Issue