mirror of
https://github.com/krateng/maloja.git
synced 2025-04-12 23:17:13 +03:00
Reenabled bracket normalization for titles, GH-121
This commit is contained in:
parent
17be00f794
commit
43ec4c2c9e
@ -139,8 +139,10 @@ class CleanerAgent:
|
||||
if t.strip().lower() in self.rules_replacetitle:
|
||||
return self.rules_replacetitle[t.strip().lower()]
|
||||
|
||||
#t = t.replace("[","(").replace("]",")")
|
||||
t = t.replace("[","(").replace("]",")")
|
||||
|
||||
# we'll leave these matching all bracket types so future changes
|
||||
# won't require readaption
|
||||
t = re.sub(r" [\(\[]as made famous by .*?[\)\]]","",t)
|
||||
t = re.sub(r" [\(\[]originally by .*?[\)\]]","",t)
|
||||
t = re.sub(r" [\(\[].*?Remaster.*?[\)\]]","",t)
|
||||
|
Loading…
x
Reference in New Issue
Block a user