From 9e6fc4033a2797c94185775b83518d97ddc1f05f Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Sat, 1 Jun 2024 12:53:40 +0100 Subject: Increase accuracy of the system infomration parser --- arthur/apis/systems/lib9front.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'arthur/apis/systems/lib9front.py') diff --git a/arthur/apis/systems/lib9front.py b/arthur/apis/systems/lib9front.py index a527a6e..2b7dd06 100644 --- a/arthur/apis/systems/lib9front.py +++ b/arthur/apis/systems/lib9front.py @@ -43,7 +43,14 @@ def generate_blog_comment(blogcom: str) -> str: else: out.append(char) - return "".join(out) + return ( + "".join(out) + .replace("website", "message") + .replace("blog post", "message") + .replace("blog", "message") + .replace("post", "message") + .replace("article", "message") + ) def generate_buzzwords(bullshit: str) -> str: -- cgit v1.2.3