mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 15:26:01 +03:00
[GH-ISSUE #271] Parsing error in get_artist_albums #210
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#210
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 (May 8, 2022).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/271
On some channels this happens occasionally, but I finally fond a channel where it happens every single time. The artist is
Eluveitie, channel idUClV0x3k5Oxm7vREoLEOPeGg.After using
get_artistto get general info, it returns an album list containing aparamsstring. When runningget_artist_albums, it fails with the following stacktrace:looking into the response of https://github.com/sigma67/ytmusicapi/blob/master/ytmusicapi/mixins/browsing.py#L254, I got the following content:
Version:
0.21.0There are other channels, where the same issue happened sometimes, but not always.
@sigma67 commented on GitHub (May 9, 2022):
I believe this is related to a recently fixed issue where unauthenticated users would sometimes be served YouTube's consent page instead of the actual page content. I discovered this issue last week when I observed tests failing (seemingly) randomly. After spending some time debugging I found that it only happens for unauthenticated users and fixed the root cause in
7c242ba.Please pull and install the latest master for now, a new release containing the fix will be pushed this week.
@fabi321 commented on GitHub (May 9, 2022):
I just checked this and can confirm that the issue is fixed on the latest master version