Im having issues when trying to get the songs from an artist, im always getting an 403 Error with the message "Action forbidden for current scope".
I think it's because the url called looks like this: api.genius.com/songs?page=1&per_page=20&sort=title,
But shouldn't it look more like this api.genius.com/artist/1234567/songs?page=1&per_page=20&sort=title ?
Im having issues when trying to get the songs from an artist, im always getting an 403 Error with the message "Action forbidden for current scope".
I think it's because the url called looks like this:
api.genius.com/songs?page=1&per_page=20&sort=title
, But shouldn't it look more like thisapi.genius.com/artist/1234567/songs?page=1&per_page=20&sort=title
?https://github.com/zyrouge/node-genius-lyrics/blob/f90c6c8ec7cb8b154a704231052b77c9ae4c48cf/lib/artists/artist.ts#L103-L106
I changed this block to use the correct url and fixed access to the response like this:
And it works for me. Did i found a bug or am i just missing something?