This commit is contained in:
2025-01-14 07:45:34 -05:00
parent ff04602954
commit 7a63b6525d
7 changed files with 22 additions and 9 deletions

View File

@@ -33,6 +33,8 @@ class Genius:
@song: the song to search
"""
try:
artist = artist.strip().lower()
song = song.strip().lower()
search_term = f'{artist}%20{song}'
returned_lyrics = ''
async with ClientSession() as client: