mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 07:16:00 +03:00
[GH-ISSUE #313] Artists missing for a certain song when using get_watch_playlist() #243
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#243
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 @RaduTek on GitHub (Oct 27, 2022).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/313
After running a playlist through some code I've made, I've found that a certain song does not return any artists.
The song in question is: https://music.youtube.com/watch?v=_GUaqxHWLks.
This issue happens outside of my code.
After running
result = ytm.get_watch_playlist("_GUaqxHWLks")and outputting as JSONprint(json.dumps(result, indent=2))I get this: (trimmed unnecessary parts)Notice how

"artists": []is empty. Meanwhile in YT Music, on the watch page the artist is displayed successfully, so it shouldn't be a backend issue or missing metadata on YT's side.@RaduTek commented on GitHub (Oct 27, 2022):
To make it clear, all the code I've used to recreate the issue is:
@sigma67 commented on GitHub (Nov 2, 2022):
If you look at your screenshot, the data is not there on the YouTube Music frontend. It only shows the album. That's why there is no artist in the data.
@RaduTek commented on GitHub (Nov 2, 2022):
I'm sorry, but there is. The album name is "Vocal Trance Club Hits Vol. 4", while the artist is "61 Rus". The thing is that the artist is not matched with an ID, as it's not clickable, but it is displayed both there and on the album page.
@sigma67 commented on GitHub (Nov 3, 2022):
Ah I see. This is a special case where the artist matches the regex used to detect view counts, and therefore a bug.