From e78da08e6eccaeef4dbea2ae7c05fd2097eaca29 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 2 Aug 2024 12:16:57 +0100 Subject: [PATCH] Extra twitter summary matches --- content.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content.py b/content.py index c1c427395..6a5341830 100644 --- a/content.py +++ b/content.py @@ -2171,8 +2171,8 @@ def reject_twitter_summary(base_dir: str, nickname: str, domain: str, if not os.path.isfile(remove_twitter): return False summary_lower = summary.lower() - if 'twitter' in summary_lower or \ - 'birdsite' in summary_lower: + twitter_strings = ('twitter', '/x.com', ' x.com', 'birdsite') + if string_contains(summary_lower, twitter_strings): return True return False