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

9.4.0 - ParsingError: Type mismatch, got FeedFilterChipBar #654

Closed
Lcstyle opened this issue Apr 29, 2024 · 0 comments · Fixed by #741
Closed

9.4.0 - ParsingError: Type mismatch, got FeedFilterChipBar #654

Lcstyle opened this issue Apr 29, 2024 · 0 comments · Fixed by #741
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@Lcstyle
Copy link

Lcstyle commented Apr 29, 2024

Steps to reproduce

update to 9.4.0 using yt2alt

Failure Logs

[YOUTUBEJS][Parser]: ParsingError: Type mismatch, got FeedFilterChipBar expected CommentsHeader | ItemSectionHeader | ItemSectionTabbedHeader | SortFilterHeader.
    at ERROR_HANDLER (file:///root/node_modules/youtubei.js/dist/src/parser/parser.js:55:27)
    at Module.parseItem (file:///root/node_modules/youtubei.js/dist/src/parser/parser.js:369:25)
    at new ItemSection (file:///root/node_modules/youtubei.js/dist/src/parser/classes/ItemSection.js:11:30)
    at parseItem (file:///root/node_modules/youtubei.js/dist/src/parser/parser.js:388:28)
    at Module.parseArray (file:///root/node_modules/youtubei.js/dist/src/parser/parser.js:408:28)
    at new SectionList (file:///root/node_modules/youtubei.js/dist/src/parser/classes/SectionList.js:6:32)
    at Module.parseItem (file:///root/node_modules/youtubei.js/dist/src/parser/parser.js:388:28)
    at new Tab (file:///root/node_modules/youtubei.js/dist/src/parser/classes/Tab.js:13:31)
    at parseItem (file:///root/node_modules/youtubei.js/dist/src/parser/parser.js:388:28)
    at Module.parse (file:///root/node_modules/youtubei.js/dist/src/parser/parser.js:426:28) {
  info: {
    contents: [ [Object], [Object], [Object] ],
    trackingParams: 'XXXX',
    styleType: 'FEED_FILTER_CHIP_BAR_STYLE_TYPE_HASHTAG_LANDING_PAGE'
  },
  date: 2024-04-29T15:38:58.169Z,
  version: '9.4.0'


### Expected behavior

no exception

### Current behavior

exception message

### 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.
@Lcstyle Lcstyle added the bug Something isn't working label Apr 29, 2024
@LuanRT LuanRT added the good first issue Good for newcomers label May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants