Ytmusicapi

Latest version: v1.7.1

Safety actively analyzes 629765 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 8 of 13

0.15.1

Fixes 🐞
---------
- `search`: fixed a crash if a playlist is missing the author

0.15.0

Features ✨
---------
- added related artist section to `get_artist` (thanks mikefreemanwd )


Changes ⚒
---------
- `get_watch_playlist`: also accepts playlist browse ids as parameter (starting with "VLPL")
- **BREAKING** `get_watch_playlist`: associated radio playlist is now at the top level of the dictionary as it is the same for every video in the list
- `get_artist`: `ValueError` is now returned if the provided channel Id has no music content (thanks mikefreemanwd )

Note: `get_album` may be broken right now for some users due to ongoing testing of a data structure on YouTube's side. A fix is currently being worked on and will be release when the change is live for all users (173).

0.14.3

Fixes 🐞
---------
- `search` results for songs and albums are more consistent and has default value `None` for year and album if they are missing
- added optional `videoId` parameter to `get_watch_playlist_shuffle`

0.14.2

Fixes 🐞
---------
- `get_artist` no longer crashes for artists with missing shuffle/radio mix
- `get_library_albums`, `get_library_artists`, `get_library_artists`, `get_library_playlists` correctly return continuations again (was broken temporarily in 0.14.0 and 0.14.1)

0.14.1

Fixes 🐞
---------
- search parsing was overhauled for song/video results. It should be more reliable and crash less often. If you find any problem or missing information, please open an issue
- search correctly parses `station` results. These usually appear when your search includes the term "mix"
- locale is now correctly set when a language is provided on initialization. This should prevent crashes when using get_playlist with a different language

0.14.0

Features ✨
---------

- requests sessions are now used by all requests except uploads per default. This improves performance by pooling TCP connections across requests on the same instance of `YTMusic()`. You can configure this behavior with the `requests_session` parameter of `YTMusic()`
- added shuffleId, radioId for artist results [`search`, `get_artist`, `get_library_artists`, `get_library_subscriptions`, `get_library_upload_artists`] (thanks PhracturedBlue )
- added `isExplicit` key to album and song `search` results
- added FAQ in docs

Fixes 🐞
---------
- `get_artist_albums`, `get_artist_singles` and `get_user_playlists` now work again after a YouTube update
- fixed a `search` edge case where unavailable songs could cause the search to crash
- auth sanity check actually works now. It runs on functions that require being logged in and returns an exception if the user didn't provide authenticated headers

Page 8 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.