get_charts: removed trending category (no longer available on YTM)
This commit is contained in:
parent
cc26a63264
commit
da492e49f6
7 changed files with 14 additions and 15 deletions
|
|
@ -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"""
|
||||
# library
|
||||
# subscribe to some artists
|
||||
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"]]
|
||||
|
|
|
|||
Loading…
Reference in a new issue