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

<11.0.1> <getLibrary> [YOUTUBEJS][Parser]: Error: Type mismatch, got FlexibleActionsView expected Button | ButtonView | SegmentedLikeDislikeButtonView. #794

Open
4 tasks done
yestoall opened this issue Nov 2, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@yestoall
Copy link

yestoall commented Nov 2, 2024

Steps to reproduce

const lib = await innertube.getLibrary()

always throws this warning:

[YOUTUBEJS][Parser]: Error: Type mismatch, got FlexibleActionsView expected Button | ButtonView | SegmentedLikeDislikeButtonView.

Failure Logs

[YOUTUBEJS][Parser]: Error: Type mismatch, got FlexibleActionsView expected Button | ButtonView | SegmentedLikeDislikeButtonView.

Expected behavior

works without warnings

Current behavior

it's working but with warnings

Version

Default

Anything else?

No response

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.
@yestoall yestoall added the bug Something isn't working label Nov 2, 2024
@sgebr01
Copy link

sgebr01 commented Nov 3, 2024

Don't worry about Parser warnings like this, because all it means is that YouTube is testing out some layout change(which they do all the time). As long as you have the data you want, it's not a problem.

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

No branches or pull requests

2 participants