Closed kalebbroo closed 1 year ago
Hi, this doesn't work for all artists. Notably when there is no "More" button on the artist's page next to the albums, there won't be any params.
For example, for Will Smith, singles would work but albums would not:
Describe the bug I am trying to return a list of all the albums from an artist using get_artist_albums. I cannot figure out how to get the perams key. I am only just learning how to code so this is most likely just a dumb mistake on my part. The api docs says to get params use get_artist but I am not able to return that key.
Error searching for artist albums: 'params' Traceback (most recent call last): File "C:\Users\kaleb\Desktop\projects\search_youtube\embed.py", line 46, in search_albums artist_albums_params = artist_data['albums']['params']