mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 23:36:00 +03:00
[GH-ISSUE #117] KeyError: 'musicImmersiveHeaderRenderer' #84
Labels
No labels
a/b
bug
documentation
enhancement
good first issue
help wanted
invalid
pull-request
question
wontfix
yt-error
yt-update
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ytmusicapi#84
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @OzymandiasTheGreat on GitHub (Dec 8, 2020).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/117
When calling
get_artist()withbrowseIdreceived fromget_library_artists()I getKeyError: 'musicImmersiveHeaderRenderer'.If I call
get_artist()with channelId from the browser, it works as intended.Here's the traceback:
@sigma67 commented on GitHub (Dec 9, 2020):
This is due to a recent YouTube update. When you click on an artist in your library, you are now shown the artist's songs in your library, with another link pointing to the actual artist. This endpoint is not yet implemented in ytmusicapi.
The browseId used for this new page is in the following format:
MPLA+channelId. So if you simply remove those first 4 letters, you should be able to useget_artistwith the browseId returned byget_library_artists.