Ytmusicapi

Latest version: v1.7.1

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

Scan your dependencies

Page 6 of 13

0.19.5

Fixes 🐞
-----------
- `search`: fixed error if result thumbnail is missing
- `get_watch_playlist`: fixed results if only videoid is provided. Only a single result was being returned, now the video's radio playlist parameter is being passed by default
- `get_library_playlists`: playlist `count` variable is now returned

0.19.4

Changes 🛠
-----------
- added a request timeout of 30s to the default session. Refer to the documentation for how to adjust this timeout: https://ytmusicapi.readthedocs.io/en/latest/reference.html#ytmusicapi.YTMusic.__init__
- `search`: added `category` property to search results, which indicates the shelf that the result is a part of. Can be used to identify "top result" type search results

Fixes 🐞
-----------
- some housekeeping, removed some deprecated code

0.19.3

Fixes 🐞
-----------
- fixed a parsing bug for default search (no filter, no scope) introduced in 0.19.0

0.19.2

Fixes 🐞
-----------
- improved Python compatibility (3.5 no longer supported due to end-of-life, 3.9 now works without issues)
- `get_charts`: fixed some parsing issues

0.19.1

Fixes 🐞
-----------
- `get_album`, `get_library_upload_album`: fixed crash caused by `audioPlaylistId` returned in different JSON keys to different users

0.19.0

Features ✨
---------
- `search`: Support the new **library search** that was rolled out globally this week. For this purpose, a new `scope` parameter was introduced for `search`. It can take `uploads` or `library` values depending on the alternative search scope intended. Consequentially, `uploads` is no longer passed using the `filter` argument. The `filter` argument can be used without a scope (global YouTube Music catalogue search, as previously), or with the new library search. All existing filters work with the library search except the videos filter, as you cannot add videos to your library (only to liked playlist)
- `get_charts`: get latest chart data from YouTube Music. This further contributes to ytmusicapi's implementation of the Explore tab in YouTube Music, after the moods and genres implementation in 0.18.0. The function retrieves all data shown on the `/charts` page and takes a country code as parameter, or `ZZ` for global charts.

Changes ⚒
-----------
- **BREAKING**: to improve consistency across the project, the key `artists` is now used whenever a list of artists with (name,id) dictionary is provided (instead of `artist`). This affects `get_album`, `get_library_upload_songs`, `get_library_upload_album`,`get_library_upload_artist`. See 215

Fixes 🐞
-----------
- `get_library_upload_albums`: a key in the data structure was changed in a recent YouTube update, the function should now work again without issue

Page 6 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.