From 25b22b206beaef8b4ad4ec60e78146a306ffa184 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 25 Jan 2020 10:49:59 +0000 Subject: [PATCH] Extra exceptions --- content.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content.py b/content.py index 8f8f4612..2e66ef4d 100644 --- a/content.py +++ b/content.py @@ -266,6 +266,12 @@ def removeLongWords(content: str,maxWordLength: int,longWordsList: []) -> str: if '@' in wordStr: if '@@' not in wordStr: continue + if '=.ed25519' in wordStr: + continue + if '.onion' in wordStr: + continue + if '.i2p' in wordStr: + continue if 'https:' in wordStr: continue elif 'http:' in wordStr: