_get_item_from_search_response() will now search through all of returned "hits" to find the matching string for the requested song title/artist name. If no matching string is found, the top Genius result of the correct type_ will be returned, and if the genius API returns nothing then None will be returned.
_get_item_from_search_response()
will now search through all of returned "hits" to find the matching string for the requested song title/artist name. If no matching string is found, the top Genius result of the correcttype_
will be returned, and if the genius API returns nothing thenNone
will be returned.