YouTube.js
YouTube.js copied to clipboard
<11.0.1> <getLibrary> [YOUTUBEJS][Parser]: Error: Type mismatch, got FlexibleActionsView expected Button | ButtonView | SegmentedLikeDislikeButtonView.
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
- [X] I am running the latest version.
- [X] I checked the documentation and found no answer.
- [X] I have searched the existing issues and made sure this is not a duplicate.
- [X] I have provided sufficient information.
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.