mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 23:36:00 +03:00
[PR #788] [MERGED] get_album: prevent KeyError when parsing missing artist data #734
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#734
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?
📋 Pull Request Information
Original PR: https://github.com/sigma67/ytmusicapi/pull/788
Author: @sgvictorino
Created: 7/23/2025
Status: ✅ Merged
Merged: 7/24/2025
Merged by: @sigma67
Base:
main← Head:optional-artist-header📝 Commits (2)
f03ce7fprevent KeyError when parsing missing author data0d96cf7Merge remote-tracking branch 'origin/main' into sgvictorino-optional-artist-header📊 Changes
3 files changed (+14 additions, -5 deletions)
View changed files
📝
tests/mixins/test_browsing.py(+6 -0)📝
ytmusicapi/parsers/albums.py(+1 -1)📝
ytmusicapi/parsers/podcasts.py(+7 -4)📄 Description
Fixes #786
get_albumno longer errors on albums with no artist metadata, instead returning"artist": None🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.