fix wpd reddit mention spam

remotes/1693045480750635534/spooky-22
Aevann1 2022-07-17 19:14:01 +02:00
parent e9d57ba68a
commit 1fbefa7f69
1 changed files with 4 additions and 0 deletions

View File

@ -46,6 +46,10 @@ def get_mentions(queries):
text = f'<blockquote><p>{body}</p></blockquote>'
else:
title = i["title"].replace('>', '> ')
# Special case: a spambot says 'WPD' a lot unrelated to us.
if 'Kathrine Mclaurin' in title: continue
text = f'<blockquote><p>{title}</p></blockquote>'
if i["selftext"]: