skip spam
parent
60094a22cd
commit
ace38ae0c7
|
@ -131,6 +131,7 @@ def soyjak_mentions_task():
|
|||
for thing in data:
|
||||
text = f'<blockquote><p>{thing["comment"]}</p></blockquote>'
|
||||
if 'erdrama' in text.lower(): continue
|
||||
if 'rdrama won' in text.lower(): continue
|
||||
permalink = thing['url']
|
||||
text = f'New site mention\n\n{permalink}\n\n{text}'
|
||||
created_utc = int(time.mktime(time.strptime(thing['date'].split('.')[0], "%Y-%m-%dT%H:%M:%S")))
|
||||
|
|
Loading…
Reference in New Issue