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

feat(parser): Add ButtonCardView #834

Merged
merged 1 commit into from
Dec 12, 2024
Merged

Conversation

jonz94
Copy link
Contributor

@jonz94 jonz94 commented Dec 11, 2024

Fixes #585
Fixes #592

Example RawNode data:

{
  "buttonCardViewModel": {
    "title": "View all posts",
    "image": {
      "sources": [
        {
          "clientResource": {
            "imageName": "ARROW_FORWARD"
          }
        }
      ]
    },
    "rendererContext": {
      "commandContext": {
        "onTap": {
          "innertubeCommand": {
            "clickTrackingParams": "CLwCEKCjASITCI6H762Rn4oDFaV2DwId4n0Rkg==",
            "commandMetadata": {
              "webCommandMetadata": {
                "url": "/channel/UCciQ8wFcVoIIMi-lfu8-cjQ/community",
                "webPageType": "WEB_PAGE_TYPE_CHANNEL",
                "rootVe": 3611,
                "apiUrl": "/youtubei/v1/browse"
              }
            },
            "browseEndpoint": {
              "browseId": "UCciQ8wFcVoIIMi-lfu8-cjQ",
              "params": "Egljb21tdW5pdHnyBgkKB0oAogECCAE%3D"
            }
          }
        }
      }
    }
  }
}

@LuanRT LuanRT merged commit eeaae62 into LuanRT:main Dec 12, 2024
4 checks passed
@jonz94 jonz94 deleted the add-ButtonCardView branch December 12, 2024 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants