mirror of https://gitlab.com/bashrc2/epicyon
Extra twitter summary matches
parent
3c0e35d05f
commit
e78da08e6e
|
@ -2171,8 +2171,8 @@ def reject_twitter_summary(base_dir: str, nickname: str, domain: str,
|
||||||
if not os.path.isfile(remove_twitter):
|
if not os.path.isfile(remove_twitter):
|
||||||
return False
|
return False
|
||||||
summary_lower = summary.lower()
|
summary_lower = summary.lower()
|
||||||
if 'twitter' in summary_lower or \
|
twitter_strings = ('twitter', '/x.com', ' x.com', 'birdsite')
|
||||||
'birdsite' in summary_lower:
|
if string_contains(summary_lower, twitter_strings):
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue