mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-26 07:46:00 +03:00
[GH-ISSUE #439] KeyError: 'gridRenderer' for get_artist_albums #330
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#330
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 @fabi321 on GitHub (Sep 25, 2023).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/439
Whenever using
YTMusic.get_artist_albums, it fails with aKeyError: 'gridRenderer'To Reproduce
Steps to reproduce the behavior:
@sigma67 commented on GitHub (Sep 25, 2023):
Seems there's been an update and you can now filter by Albums/Singles and sort.
PR welcome.
@fabi321 commented on GitHub (Sep 25, 2023):
One problem I'm currently facing is https://music.youtube.com/browse/UCNms80n59AltHVQuPgGrKkg
The params points to a list of
musicResponsiveListItemRenderer, which matches theSongsshelf in ytmusic, but the params are clearly taken from theAlbumsshelf. I'm not sure, who's to fault there.artist response:
response using this endpoint + parameters:
@fabi321 commented on GitHub (Sep 25, 2023):
I was to blame for that last mistake. I wrongly assumed, that I could use the channelId as browseId for getting albums, while that isn't always the case. Fixing that fixed the issue.
@sigma67 commented on GitHub (Sep 25, 2023):
#441 for the new features
@sigma67 commented on GitHub (Jan 10, 2024):
#441 is now completed