-
-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
10.0.0 [YOUTUBEJS][Parser]: InnertubeError: Something went wrong at ContentMetadataView! #668
Comments
So when reading this playlist I have, the issue is with the parsing of Parsing assumes that a ContentMetadataView contains rows, and each row contains parts, and each part is a Here's the json of this
|
Until now YouTube has only used that node on the channel page, hence the current handling. Sounds like they are switching to that on the playlist page too then. Thank you for providing the snippet that causes the problem, that will make it easier to add support for it. |
I got the same error when running my playlist organizer tool. {
"metadataRows": [
{
"metadataParts": [
{
"avatarStack": {
"avatarStackViewModel": {
"avatars": [
{
"avatarViewModel": {
"image": {
"sources": [
{
"url": "<url-redacted>",
"width": 48,
"height": 48
}
],
"processor": {
"borderImageProcessor": {
"circular": true
}
}
},
"avatarImageSize": "AVATAR_SIZE_XS"
}
}
],
"text": {
"content": "<test-redacted>",
"commandRuns": [
{
"startIndex": 0,
"length": 14,
"onTap": {
"innertubeCommand": {
"clickTrackingParams": "redacted",
"commandMetadata": {
"webCommandMetadata": {
"url": "/@redacted",
"webPageType": "WEB_PAGE_TYPE_CHANNEL",
"rootVe": 3611,
"apiUrl": "/youtubei/v1/browse"
}
},
"browseEndpoint": {
"browseId": "redacted",
"canonicalBaseUrl": "/@redacted"
}
}
}
}
],
"styleRuns": [
{
"startIndex": 0,
"length": 14,
"fontColor": 4294967295,
"weightLabel": "FONT_WEIGHT_NORMAL"
}
]
},
"rendererContext": {
"loggingContext": {
"loggingDirectives": {
"trackingParams": "redacted",
"visibility": {
"types": "12"
},
"clientVeSpec": {
"uiType": 184971,
"veCounter": 610901681
}
}
},
"accessibilityContext": {
"label": "redacted"
},
"commandContext": {
"onTap": {
"innertubeCommand": {
"clickTrackingParams": "redacted",
"commandMetadata": {
"webCommandMetadata": {
"url": "/@redacted",
"webPageType": "WEB_PAGE_TYPE_CHANNEL",
"rootVe": 3611,
"apiUrl": "/youtubei/v1/browse"
}
},
"browseEndpoint": {
"browseId": "redacted",
"canonicalBaseUrl": "/@redacted"
}
}
}
}
}
}
}
}
]
},
{
"metadataParts": [
{
"text": {
"content": "Playlist"
}
},
{
"text": {
"content": "Public"
}
},
{
"text": {
"content": "260 videos"
}
},
{
"text": {
"content": "4,628,354 views"
}
}
]
}
],
"delimiter": "•",
"rendererContext": {
"loggingContext": {
"loggingDirectives": {
"trackingParams": "redacted",
"visibility": {
"types": "12"
},
"clientVeSpec": {
"uiType": 176757,
"veCounter": 610901680
}
}
}
}
} |
Steps to reproduce
Happens when trying to read playlists (I'll dig into this further when I have some time)
This is from yt2alt, usage looks like this
Failure Logs
Expected behavior
Reads videos from playlists
Current behavior
Error printed, but still successfully reads videos (or at least the ids are there)
Version
Default
Anything else?
No response
Checklist
The text was updated successfully, but these errors were encountered: