Extra twitter summary matches

main
Bob Mottram 2024-08-02 12:16:57 +01:00
parent 3c0e35d05f
commit e78da08e6e
1 changed files with 2 additions and 2 deletions

View File

@ -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