Extra exceptions

main
Bob Mottram 2020-01-25 10:49:59 +00:00
parent 1bb4e08c35
commit 25b22b206b
1 changed files with 6 additions and 0 deletions

View File

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