ignore excluded words completely

This commit is contained in:
OneNewDev 2022-05-28 15:15:55 +02:00
parent 987da2aa95
commit 43ff74265c

View file

@ -43,7 +43,7 @@ class FileScanner(HTMLParser):
word = tag_name.lower()
score = 10
if word in EXCLUDED_WORDS:
score = 0
continue
if word in title_words:
score *= 4
if len(word) <= 3: