add two letters to strip
This commit is contained in:
parent
0c6c621919
commit
710faa4611
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue