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
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 calling get_playlist, and passing the suggestions_token to get_playlist_suggestions
search: now supports the recently introduced featured_playlists, community_playlists filters
Changes ⚒
POSSIBLY BREAKINGsetup 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 the x-goog-visitor-id in your headers_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 video
get_library_artists, get_library_subscriptions: fix error if artist thumbnail is missing
get_watch_playlist: some tracks were wrapped and therefore missing in the returned results. this is now fixed
search: make uploads search more error proof (#193)
search: fix missing duration for unavailable videos