Ytmusicapi

Latest version: v1.7.3

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

Scan your dependencies

Page 9 of 13

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

0.13.1

Fixes 🐞
---------
- more fixes for video search edge cases (149)
- fix get_watch_playlist edge case where length field is missing

0.13.0

As always, thanks to all contributors for providing helpful debug information and bringing feature requests to my attention. This release contains some minor new features for existing functions and several important bug fixes.

Features ✨
---------

- `get_library_upload_artist`: added limit parameter for continuations
- `get_watch_playlist`: added artists, album, feedbackTokens and likeStatus
- `isExplicit` key is now available on most endpoints returning songs, most notably `search`, `get_playlist` and `get_album`

Changes ⚒
-----------
- **BREAKING** `get_lyrics` behavior changed. If there are no lyrics, `get_watch_playlist` will now return `None` for the `lyrics` key. The `lyricsFound` key no longer exists. Instead, `get_lyrics` will raise an exception if `None` is passed as the `browseId`
- 4xx HTTP error codes from the YouTube Music API will now raise an exception right away, instead of somewhat confusing error messages from parsing errors

Fixes 🐞
---------
- stop continuation requests if continuation contents are empty (fixes some crashes with continuations)
- fixed view/duration for video search results with missing duration (149)
- fixed get_library_albums error if a library album has no year

0.12.2

A release a day keeps the bugs away... hopefully.

Changes ⚒
-----------
- **potentially breaking** video search results returned by `search` now contain an `artists` key, since videos can now have multiple artists. As with other endpoints, each list entry contains `name` and `id` of the artist.
- if a song search result does not contain an album, the key `album` will be `None` again, as it was before 0.12

Fixes 🐞
---------
- fixed several additional bugs that could cause `search` to throw an Exception
- video search results now have correct `views` and `duration` fields
- fixed an issue with parsing the trackCount of playlists (`get_playlist`) if locale was not set correctly (125)

0.12.1

Fixes 🐞
---------
- some remaining bugs with `search` are fixed in this update (121, 122, 123, 124)

Page 9 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.