Features ✨
get_playlist_suggestions
: for playlists with less than 100 items, YouTube Music suggests additional songs to add to the playlist. You can now retrieve these suggestions with ytmusicapi by first callingget_playlist
, and passing thesuggestions_token
toget_playlist_suggestions
search
: now supports the recently introduced featured_playlists, community_playlists filters
Changes ⚒
- POSSIBLY BREAKING
setup
procedure has changed. Instead of taking only one or two headers from the user input, now most of the user headers are used for actual requests. This should hopefully make requests match browser requests more closely init
:x-goog-visitor-id
header is now retrieved dynamically on instantiation if it is not provided in the authentication headers. Therefore, to avoid an extra request on initialization, you should include thex-goog-visitor-id
in yourheaders_auth.json
. The purpose of this change was that previously a fixed id was used for the entire project, which would cause errors when that id was no longer recognized as valid by Google
Fixes 🐞
get_artist
,get_user
: fail silently if playlistId or thumbnails are missing for videoget_library_artists
,get_library_subscriptions
: fix error if artist thumbnail is missingget_watch_playlist
: some tracks were wrapped and therefore missing in the returned results. this is now fixedsearch
: make uploads search more error proof (#193)search
: fix missing duration for unavailable videos