Revert "get_charts: removed trending category (no longer available on YTM)"

This reverts commit da492e49f6.
This commit is contained in:
sigma67 2024-02-22 14:21:14 +01:00 • committed by sigma67
commit e1bcb88c92
7 changed files with 15 additions and 14 deletions

View file

@ -17,7 +17,7 @@ yt_brand = YTMusic(Path(__file__).parent.joinpath("oauth.json").as_posix(), bran
def populate_account():
"""idempotent requests to populate an account"""
# subscribe to some artists
# library
playlist_id = "RDCLAK5uy_l9ex2d91-Qb1i-W7d0MLCEl_ZjRXss0Dk" # fixed playlist with many artists
yt_playlist = yt_brand.get_playlist(playlist_id)
artists = [track["artists"] for track in yt_playlist["tracks"]]