You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
at ERROR_HANDLER (/node_modules/.pnpm/[email protected]/node_modules/youtubei.js/dist/src/parser/parser.js:105:72)
at createRuntimeClass (/node_modules/.pnpm/[email protected]/node_modules/youtubei.js/dist/src/parser/generator.js:346:5)
at generateRuntimeClass (/node_modules/.pnpm/[email protected]/node_modules/youtubei.js/dist/src/parser/generator.js:398:21)
at parseItem (/node_modules/.pnpm/[email protected]/node_modules/youtubei.js/dist/src/parser/parser.js:394:148)
at Module.parseArray (/node_modules/.pnpm/[email protected]/node_modules/youtubei.js/dist/src/parser/parser.js:435:28)
at new HorizontalList (/node_modules/.pnpm/[email protected]/node_modules/youtubei.js/dist/src/parser/classes/HorizontalList.js:13:68)
at Module.parseItem (/node_modules/.pnpm/[email protected]/node_modules/youtubei.js/dist/src/parser/parser.js:416:28)
at new Shelf (/node_modules/.pnpm/[email protected]/node_modules/youtubei.js/dist/src/parser/classes/Shelf.js:22:70)
at parseItem (/node_modules/.pnpm/[email protected]/node_modules/youtubei.js/dist/src/parser/parser.js:416:28)
at Module.parseArray (/node_modules/.pnpm/[email protected]/node_modules/youtubei.js/dist/src/parser/parser.js:435:28)
at new ItemSection (/node_modules/.pnpm/[email protected]/node_modules/youtubei.js/dist/src/parser/classes/ItemSection.js:27:71)
at parseItem (/node_modules/.pnpm/[email protected]/node_modules/youtubei.js/dist/src/parser/parser.js:416:28)
at Module.parseArray (/node_modules/.pnpm/[email protected]/node_modules/youtubei.js/dist/src/parser/parser.js:435:28)
at new SectionList (/node_modules/.pnpm/[email protected]/node_modules/youtubei.js/dist/src/parser/classes/SectionList.js:12:71)
at parseItem (/node_modules/.pnpm/[email protected]/node_modules/youtubei.js/dist/src/parser/parser.js:416:28)
at Module.parse (/node_modules/.pnpm/[email protected]/node_modules/youtubei.js/dist/src/parser/parser.js:461:75)
at new TwoColumnSearchResults (/node_modules/.pnpm/[email protected]/node_modules/youtubei.js/dist/src/parser/classes/TwoColumnSearchResults.js:12:79)
at parseItem (/node_modules/.pnpm/[email protected]/node_modules/youtubei.js/dist/src/parser/parser.js:416:28)
at parse (/node_modules/.pnpm/[email protected]/node_modules/youtubei.js/dist/src/parser/parser.js:461:75)
at Module.parseResponse (/node_modules/.pnpm/[email protected]/node_modules/youtubei.js/dist/src/parser/parser.js:168:22)
at new Feed (/node_modules/.pnpm/[email protected]/node_modules/youtubei.js/dist/src/core/mixins/Feed.js:66:147)
at new Search (/node_modules/.pnpm/[email protected]/node_modules/youtubei.js/dist/src/parser/youtube/Search.js:28:9)
at Innertube.eval (/node_modules/.pnpm/[email protected]/node_modules/youtubei.js/dist/src/Innertube.js:141:20)
at Generator.next (<anonymous>)
at fulfilled (/node_modules/.pnpm/[email protected]/node_modules/tslib/tslib.es6.mjs:164:32)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
Steps to reproduce
Use
Innertube.search()
Search for
alan walker
Got:
[YOUTUBEJS][Parser]: InnertubeError: ButtonCardView not found!
This is a bug, want to help us fix it? Follow the instructions at https://github.com/LuanRT/YouTube.js/blob/main/docs/updating-the-parser.md or report it at https://github.com/LuanRT/YouTube.js/issues!
Introspected and JIT generated this class in the meantime:
class ButtonCardView extends YTNode {
static type = 'ButtonCardView';
title: string;
image: {
sources: {
client_resource: {
image_name: string
}
}[]
};
renderer_context: {
command_context: {
on_tap: {
innertube_command: NavigationEndpoint
}
}
};
constructor(data: RawNode) {
super();
this.title = data.title;
this.image = {
sources: data.image.sources.map((item: any) => ({
client_resource: {
image_name: item.clientResource.imageName
}
}))
};
this.renderer_context = {
command_context: {
on_tap: {
innertube_command: new NavigationEndpoint(data.rendererContext.commandContext.onTap.innertubeCommand)
}
}
};
}
}
date: 2024-02-02T15:29:59.412Z,
version: '9.0.2'
}
Failure Logs
Expected behavior
Receive results for "alan walker"
Current behavior
[YOUTUBEJS][Parser]: InnertubeError: ButtonCardView not found!
Version
Default
Anything else?
No response
Checklist
The text was updated successfully, but these errors were encountered: