Closed jaidevshriram closed 3 years ago
Before getting to the actual issue, please note that the lyrics for that song are missing on Genius and even if the package found the song successfully, it would return None. There are two reasons why this issue has occurred:
and
in the title nstead of the &
you provided. But even when I use and
it returns the same result (this happens for neither &
nor and
when using the browser - very strange).My suggestion is that if you find search_song
to be unreliable, use the various search methods available and do the matching yourself. After all, search_song
is merely a convenience method.
Describe the bug Instead of returning a song,
search_song
returns a movie script/play.Expected behavior The function should return a valid song.
To Reproduce Describe the steps required to reproduce the behavior.
genius.search_song("Blue Jeans & A Boy's Shirt", "Glen Glenn")
The output can be seen here.
Version info
Additional context Sometimes I also get a list of songs instead of a song's lyrics. The above example was just one instance, there are more examples.