You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I would be nice to have a get_artist_songs() just like the get_artist_albums(), but without the params because the get_artist() function returns doesn't have a params key in the songs field.
Describe the solution you'd like
For an example of usage that I expect:
fromytmusicapiimportYTMusicytm=YTMusic()
artist=ytm.get_artist("UCu3D7Xd6Wxt4f1PYokvZVVA")
browse_id=artist["songs"]["browseId"]
songs=ytm.get_artist_songs(browse_id, limit=None)
# Then I expect to get an list of a bunch of song dicts.print(songs)
Describe alternatives you've considered
I tried to follow the docs, there was said that I could do that with the get_artist_albums() function, but it didn't work because of the params field that the songs doesn't have, unlike the singles, videos and albums. Maybe fixing that issue would be better, but I still prefer a separate function for them all.
Additional context
I was trying to create a CLI application that will allow users to fetch JSON data from the Youtube Music API and integrate it with yt-dlp with jq, or something like that, and the songs subcommand isn't working in anyway.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I would be nice to have a
get_artist_songs()
just like theget_artist_albums()
, but without theparams
because theget_artist()
function returns doesn't have aparams
key in thesongs
field.Describe the solution you'd like
For an example of usage that I expect:
Describe alternatives you've considered
I tried to follow the docs, there was said that I could do that with the
get_artist_albums()
function, but it didn't work because of theparams
field that thesongs
doesn't have, unlike thesingles
,videos
andalbums
. Maybe fixing that issue would be better, but I still prefer a separate function for them all.Additional context
I was trying to create a CLI application that will allow users to fetch JSON data from the Youtube Music API and integrate it with
yt-dlp
withjq
, or something like that, and thesongs
subcommand isn't working in anyway.The text was updated successfully, but these errors were encountered: