From 710faa4611536dfefc629b335084f313d39f5230 Mon Sep 17 00:00:00 2001 From: OneNewDev Date: Mon, 6 Jun 2022 12:17:55 +0200 Subject: [PATCH] add two letters to strip --- tagger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tagger.py b/tagger.py index a03a81d..a0009ed 100644 --- a/tagger.py +++ b/tagger.py @@ -52,7 +52,7 @@ class FileScanner(HTMLParser): title_words = set(title.split('-')) for word in words: # Verschiedene Zeichen vom Anfang und Ende der Wörter entfernen. - tag_name = word.strip(".,:;!\"'<>()") + tag_name = word.strip(".,:;!\"'<>()«»") # Leere Wörter ignorieren if not tag_name: continue