YouTube.js icon indicating copy to clipboard operation
YouTube.js copied to clipboard

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

Open yestoall opened this issue 1 year ago • 1 comments

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.

yestoall avatar Nov 02 '24 10:11 yestoall

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.

sgebr01 avatar Nov 03 '24 15:11 sgebr01