Skip to content
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.5.0: InnertubeError: Something went wrong at ShortsLockupView! #771

Closed
4 tasks done
elektracodes opened this issue Sep 30, 2024 · 2 comments · Fixed by #775
Closed
4 tasks done

10.5.0: InnertubeError: Something went wrong at ShortsLockupView! #771

elektracodes opened this issue Sep 30, 2024 · 2 comments · Fixed by #775
Labels
bug Something isn't working

Comments

@elektracodes
Copy link

elektracodes commented Sep 30, 2024

Steps to reproduce

The issue still persists.

This is the id of MrBeast video for example tnTPaLOaHz8

My code is like this

  const requestedItemId = 'tnTPaLOaHz8'
  const video = await yt.getInfo(requestedItemId);

Failure Logs

[YOUTUBEJS][Parser]: InnertubeError: Something went wrong at ShortsLockupView!
This is a bug, please report it at https://github.com/LuanRT/YouTube.js/issues
    at ERROR_HANDLER (/path/to/node_modules/youtubei.js/bundle/node.cjs:14521:32)
    at parseItem (/path/to/node_modules/youtubei.js/bundle/node.cjs:14885:7)
    at Object.parseArray (/path/to/node_modules/youtubei.js/bundle/node.cjs:14901:22)
    at new ReelShelf (/path/to/node_modules/youtubei.js/bundle/node.cjs:7069:33)
    at parseItem (/path/to/node_modules/youtubei.js/bundle/node.cjs:14881:22)
    at Object.parseArray (/path/to/node_modules/youtubei.js/bundle/node.cjs:14901:22)
    at new StructuredDescriptionContent (/path/to/node_modules/youtubei.js/bundle/node.cjs:7101:33)
    at Object.parseItem (/path/to/node_modules/youtubei.js/bundle/node.cjs:14881:22)
    at new EngagementPanelSectionList (/path/to/node_modules/youtubei.js/bundle/node.cjs:7124:35)
    at parseItem (/path/to/node_modules/youtubei.js/bundle/node.cjs:14881:22) {
  info: {
    stack: "TypeError: Cannot destructure property 'content' of 'data' as it is undefined.\n" +
      '    at Function.fromAttributed (/path/to/node_modules/youtubei.js/bundle/node.cjs:5534:13)\n' +
      '    at new ShortsLockupView (/path/to/node_modules/youtubei.js/bundle/node.cjs:12576:26)\n' +
      '    at parseItem (/path/to/node_modules/youtubei.js/bundle/node.cjs:14881:22)\n' +
      '    at Object.parseArray (/path/to/node_modules/youtubei.js/bundle/node.cjs:14901:22)\n' +
      '    at new ReelShelf (/path/to/node_modules/youtubei.js/bundle/node.cjs:7069:33)\n' +
      '    at parseItem (/path/to/node_modules/youtubei.js/bundle/node.cjs:14881:22)\n' +
      '    at Object.parseArray (/path/to/node_modules/youtubei.js/bundle/node.cjs:14901:22)\n' +
      '    at new StructuredDescriptionContent (/path/to/node_modules/youtubei.js/bundle/node.cjs:7101:33)\n' +
      '    at Object.parseItem (/path/to/node_modules/youtubei.js/bundle/node.cjs:14881:22)\n' +
      '    at new EngagementPanelSectionList (/path/to/node_modules/youtubei.js/bundle/node.cjs:7124:35)',
    classdata: '{\n' +
      '  "entityId": "shorts-shelf-item-LbcXI5vrt0I",\n' +
      '  "accessibilityText": "Mr Beast playing Forklift |  rolling over #mrbeast #roblox #shorts #compilation, 10K views - play Short",\n' +
      '  "thumbnail": {\n' +
      '    "sources": [\n' +
      '      {\n' +
      '        "url": "https://i.ytimg.com/vi/LbcXI5vrt0I/oardefault.jpg?sqp=-oaymwEdCJUDENAFSFWQAgHyq4qpAwwIARUAAIhCcAHAAQY=&rs=AOn4CLAiVqUxJBF5pmCxPtizdxWLH7XSKQ",\n' +
      '        "width": 405,\n' +
      '        "height": 720\n' +
      '      }\n' +
      '    ]\n' +
      '  },\n' +
      '  "onTap": {\n' +
      '    "innertubeCommand": {\n' +
      '      "clickTrackingParams": "CCIQh_YEGBwiEwjilfCpo-uIAxX7w0kHHY_IGxGaAQUIRRD4HQ==",\n' +
      '      "commandMetadata": {\n' +
      '        "webCommandMetadata": {\n' +
      '          "url": "/shorts/LbcXI5vrt0I",\n' +
      '          "webPageType": "WEB_PAGE_TYPE_SHORTS",\n' +
      '          "rootVe": 37414\n' +
      '        }\n' +
      '      },\n' +
      '      "reelWatchEndpoint": {\n' +
      '        "videoId": "LbcXI5vrt0I",\n' +
      '        "playerParams": "8AEByANFuAQfogYVAa6PwSZ7LENqkuxVLcZQNjMz8aAlkAcC",\n' +
      '        "thumbnail": {\n' +
      '          "thumbnails": [\n' +
      '            {\n' +
      '              "url": "https://i.ytimg.com/vi/LbcXI5vrt0I/frame0.jpg",\n' +
      '              "width": 720,\n' +
      '              "height": 1280\n' +
      '            }\n' +
      '          ],\n' +
      '          "isOriginalAspectRatio": true\n' +
      '        },\n' +
      '        "overlay": {\n' +
      '          "reelPlayerOverlayRenderer": {\n' +
      '            "style": "REEL_PLAYER_OVERLAY_STYLE_SHORTS",\n' +
      '            "trackingParams": "CCMQsLUEIhMI4pXwqaPriAMV-8NJBx2PyBsR",\n' +
      '            "reelPlayerNavigationModel": "REEL_PLAYER_NAVIGATION_MODEL_UNSPECIFIED"\n' +
      '          }\n' +
      '        },\n' +
      '        "params": "CB8wAg%3D%3D",\n' +
      '        "sequenceProvider": "REEL_WATCH_SEQUENCE_PROVIDER_RPC",\n' +
      '        "sequenceParams": "KsYDCg0KCzVPRlBDZ1M1RkxjCg0KCzNlZV8yVGRJUlF3Cg0KCzBqVkpuNnl6VVJJCg0KC0hVWUNWai1GZ3pBCg0KC1BuaUVKaG9SSVhZCg0KC0VxYWFGa3NHVW4wCg0KCy1Bd296VU5KdUZBCg0KC2txdzRuOTk1M2l3Cg0KC0VQaUVTc05Ld2FvCg0KC3g2OWgyNXFVeXNNCg0KC2dkb3hyUThGRTlvCg0KC3VfV1FXMF9lWmZrCg0KC0RuV1BERHBpaUVNCg0KC0hDQ0lQTUxjWlpZCg0KC05EMk5XQWhsUUtvCg0KC3BwUnFEa2Nva0pZCg0KC0hhX3FMWXRhWmpNCg0KC3BsX3FkUE5PNDdVCg0KC0NxaW9SbDZFX09vCg0KC1h3TDM1TU4zcG5BCg0KC1hvaWVkNVd6Y1VRCg0KC0hKcXNyWjdwMWg0Cg0KC25YOXhfS2NQZmljCg0KC0ZUakFVZU9vaUFjCg0KC2xYUHI2X1Q4SXk0Cg0KC3ZCN29tODQwNi1FCg0KCzdORmJNUVZhQU84Cg0KC1hITVFHcm9YVUhVCg0KC0xiY1hJNXZydDBJCg0KCzlxSktwR2RoZUg4EBwYH1AZaAGKAREaDwoNCgt0blRQYUxPYUh6OJABBQ%3D%3D",\n' +
      '        "loggingContext": {\n' +
      '          "vssLoggingContext": {\n' +
      '            "serializedContextData": "CgIIDA%3D%3D"\n' +
      '          },\n' +
      '          "qoeLoggingContext": {\n' +
      '            "serializedContextData": "CgIIDA%3D%3D"\n' +
      '          }\n' +
      '        },\n' +
      '        "ustreamerConfig": "CAwSGG1MdndaZU9qYzlpR3pxNnFMMkxGS1Q0PQ=="\n' +
      '      }\n' +
      '    }\n' +
      '  },\n' +
      '  "indexInCollection": 28,\n' +
      '  "overlayMetadata": {\n' +
      '    "secondaryText": {\n' +
      '      "content": "10K views"\n' +
      '    }\n' +
      '  },\n' +
      '  "loggingDirectives": {\n' +
      '    "trackingParams": "CCIQh_YEGBwiEwjilfCpo-uIAxX7w0kHHY_IGxE=",\n' +
      '    "visibility": {\n' +
      '      "types": "12"\n' +
      '    },\n' +
      '    "enableDisplayloggerExperiment": true\n' +
      '  }\n' +
      '}'
  },
  date: 2024-09-30T18:16:49.036Z,
  version: '10.5.0'
}

Expected behavior

Being able to parse the video

Current behavior

Fails to parse any video

Version

Default

Anything else?

I know in the previous released you said that this was playing, but most of my videos fail right now

Checklist

  • I am running the latest version.
  • I checked the documentation and found no answer.
  • I have searched the existing issues and made sure this is not a duplicate.
  • I have provided sufficient information.
@elektracodes elektracodes added the bug Something isn't working label Sep 30, 2024
@hextor1

This comment has been minimized.

@hextor1

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants