Const parseTwoRowItemRenderer
parseTwoRowItemRenderer: (...input: T) => R = utils.parser((e: any) => {const item: CarouselItem = {thumbnail: [],title: e.title.runs[0],subtitle: [],navigationEndpoint: e.navigationEndpoint}e.thumbnailRenderer.musicThumbnailRenderer.thumbnail.thumbnails.forEach((el: any) => item.thumbnail.push(el))e.subtitle.runs.forEach((el: any) => {let sub: Subtitle = {text: el.text}if (el.navigationEndpoint) {sub.navigationEndpoint = el.navigationEndpoint}item.subtitle.push(sub)})return item})
Returns Full HomePage
const api = new YTMUSIC(cookie) const data = await api.getFullHomePage()