lyric search bugfix/misc; cleanup
This commit is contained in:
@ -119,7 +119,7 @@ class DataUtils:
|
||||
str: Regex scrubbed lyrics
|
||||
"""
|
||||
lyrics = self.scrub_regex_1.sub('', lyrics)
|
||||
lyrics = self.scrub_regex_2.sub('', lyrics, flags=regex.IGNORECASE)
|
||||
lyrics = self.scrub_regex_2.sub('', lyrics)
|
||||
lyrics = self.scrub_regex_3.sub('\n', lyrics) # Gaps between verses
|
||||
lyrics = self.scrub_regex_3.sub('', lyrics)
|
||||
return lyrics
|
||||
|
Reference in New Issue
Block a user