Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
Taiko2k committed Apr 2, 2020
1 parent 0f9086a commit b4c192e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions t_modules/t_lyrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ def genius(artist, title, return_url=False):

line = f"{artist}-{title}"
line = re.sub("[,._@!#%^*+;'()]", "", line)
line = line.replace("]", "")
line = line.replace("[", "")
line = line.replace(" ", "-")
line = line.replace("/", "-")
line = line.replace("-&-", "-and-")
Expand Down

0 comments on commit b4c192e

Please sign in to comment.