Ytmusicapi

Latest version: v1.10.1

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

Scan your dependencies

Page 6 of 14

1.0.1

Fixes 🐞
----------------------
- OAuth authentication now also works when passing the OAuth credentials as a string to YTMusic() (380)
- OAuth header files can now use any filename (376)

1.0.0

It's been 3 years since 10 was created, but now this project finally has a way of OAuth authentication. Therefore it is considered feature complete for now and ready for a v1.0 release, just in time for almost 1k 🌟! The next major release will be v2.0 featuring proper types with pydantic.

Overall there are not many breaking changes in this release, only the setup procedure has changed. It was a priority to integrate the new OAuth authentication as seamlessly as possible.

Features ✨
---------
- support OAuth authentication (10, thanks vixalien).
- `get_search_suggestions`: get the suggestions that appear during typing on YouTube Music (thanks omgupta15 )
- CLI for setup. Call `ytmusicapi browser` for traditional auth using browser headers or `ytmusicapi oauth` to use the new OAuth authentication (it's simple and fast!)

Breaking Changes ⚒
----------------------
- Setup procedure has been reworked. for library use, you can simple do `from ytmusicapi import setup` instead of importing the `YTMusic` object

Fixes 🐞
----------------------
- `search` has been a bit problematic since the recent server side changes to top results, it should now be more reliable. If you still notice some odd search results please create an issue

0.25.2

Fixes 🐞
-----------
- search: added some missing keys to top results (`videoId`, `videoType`, `category`)

0.25.1

Fixes 🐞
-----------
- get_playlist: add 'views' for owned playlists, fix trackCount (365)
- refactor search parsing to work with new top result (360)

0.25.0

Features ✨
---------
- support additional languages: Russian, Hindi, Portuguese, Turkish, Arabic, Urdu (thanks sheikhhaziq )
- `add_history_item`: add songs to play history (thanks impliedchaos )

Changes ⚒
-----------
- updated runs parsing for get_library_*_albums

Fixes 🐞
-----------
- fixed library functions for some users (320)

0.24.1

Changes ⚒
-----------
- playlist items now include the `videoType` key (310, thanks lsmacedo )
- `zh_TW` localization is now supported (314, thanks terry3041 )
- `get_song` now returns the `playbackTracking` key, making it possible to add items to the personal history (`get_history`)

Fixes 🐞
-----------
- fixed an issue with setup for cookies with quotes present (309, thanks JohnHKoh )
- `get_watch_playlist`: fixed a parsing issue that could cause an artist to mistakenly be interpreted as views (313)
- `get_playlist`: fixed an error for empty playlists (319, thanks bretsky )

Page 6 of 14

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.