diff --git a/content.py b/content.py index 49f8dfb3..c8f0c764 100644 --- a/content.py +++ b/content.py @@ -237,6 +237,10 @@ def removeLongWords(content: str,maxWordLength: int,longWordsList: []) -> str: for wordStr in longWordsList: if wordStr.startswith('<'): continue + if wordStr.startswith('http'): + continue + if '/' in wordStr: + continue if len(wordStr[maxWordLength:])