Ytmusicapi

Latest version: v1.7.3

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

Scan your dependencies

Page 6 of 13

0.21.0

Features ✨
---------
- `get_home`: You can now get the home page using `get_home`. This feature is a bit hard to test as the home page changes on every request based on various factors (time of day, popular content, etc.),. Please help out by testing it yourself and reporting any bugs you may find! (251)

Fixes 🐞
-----------
- `get_album`: album and artist are now also set correctly on individual tracks, not just in the album metadata (257)
- `get_charts`: fixed a crash when unavailable songs where present in the "trending" section
- `get_artist`: fixed an issue with videos some artists which would cause `get_artists` to crash (7bc65ba15cba8d48ab8077f0dbd1be89f2402f6e)

0.20.0

Features ✨
---------
- localization: `zh_CN` is now supported for Chinese language support. Thanks BruceZhang1993 ! (244)
- `duration_seconds` is now provided as an additional field for tracks with a `duration` key. It is equivalent to the `duration` key parsed to an integer value in seconds. For albums and playlists, the top level `duration_seconds` key contains the sum of the durations of all songs in seconds

Fixes 🐞
-----------
- header keys are now case insensitive, this should prevent some issues during setup
- authuser defined in headers json is now used when uploading a song (241, thanks hibby50 )
- `get_watch_playlist`: fix for albums with many titles, which now no longer throw an error during continuations
- fixed special playlists like the recap playlist (243, thanks kenbier )
- `isExplicit` key should now always be parsed correctly, even with localization on
- requests session is now also used for `get` requests, which avoids stalling on initialization (240)
- `get_history` now correctly raises an exception if a user's watch history is disabled

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

Page 6 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.