This commit is contained in:
2025-01-16 09:37:50 -05:00
parent 00be1b8eb1
commit 949b6e4bc3
4 changed files with 10 additions and 3 deletions

View File

@@ -37,12 +37,14 @@ class Genius:
self.matcher = utils.TrackMatcher()
self.cache = cache.Cache()
# pylint: disable=unused-argument
async def search(self, artist: str, song: str, **kwargs) -> Optional[LyricsResult]:
"""
@artist: the artist to search
@song: the song to search
"""
try:
# pylint: enable=unused-argument
artist: str = artist.strip().lower()
song: str = song.strip().lower()
time_start: float = time.time()