Song search incorrect result
shrddr opened this issue · 0 comments
shrddr commented
Describe the bug
Searching for song "Compa" by artist "Phil Lober" returns song "Geechi Gotti vs. Charlie Clips" by artist "URLtv"
Expected behavior
Should return None, because
- the artist id from https://genius.com/api/search/artist?page=1&q=phil+lober is 1671272
- then https://genius.com/api/artists/1671272/songs/search?page=1&q=compa&sort=popularity is empty
To Reproduce
artist = genius.search_artist('Phil Lober', max_songs=0)
song = genius.search_song('Compa', artist.name)
or just song = genius.search_song('Compa', 'Phil Lober')
Version info
- Package version 3.0.1
- OS: Windows
Additional context
artist = genius.search_artist('Phil Lober', max_songs=0)
songs = genius.search_artist_songs(artist.id, 'Compa')
works correctly, returns empty dict