strip '"<>() from <title> words when checking for title/url difference
This commit is contained in:
parent
74d9bf4da3
commit
07a3ba5222
1 changed files with 2 additions and 1 deletions
|
@ -26,7 +26,8 @@ class Module(ModuleManager.BaseModule):
|
|||
title_words = []
|
||||
for title_word in RE_WORDSPLIT.split(title):
|
||||
if len(title_word) > 1 or title_word.isalpha():
|
||||
title_words.append(title_word.lower())
|
||||
title_word = title_word.lower()
|
||||
title_words.append(title_word.strip("'\"<>()"))
|
||||
|
||||
present = 0
|
||||
for title_word in title_words:
|
||||
|
|
Loading…
Reference in a new issue