damonwonghv / youtube-search-api

Get Youtube Search result without any login or api key
MIT License
86 stars 30 forks source link

GetChannelById - no content for other tabs #15

Open Paragrimm opened 1 year ago

Paragrimm commented 1 year ago

Hey, I've tried to integrate your package into my node JS application and the endpoint GetChannelById just returns the expected content for the first Tab ("Übersicht" in my case), all other tabs (Playlists, etc.) don't have any content attached. This .zip archive contains a JSON file with the response I get: channelInfo.zip

This is my code:

async function channelInfo(query: QueryParameter) {
  const channelInfo = await YoutubeSearchApi.GetChannelById("UCXtdo36OUB7VrFKt-azc-Kg");

  return channelInfo;
}

I hope that you find the time to look into that (seems like json.tabRenderer is undefined?).

Thanks in advance!

damonwonghv commented 1 year ago

Can you post the zip file content here, it's not possible to download a zip file. Thanks.

Paragrimm commented 1 year ago

The content is too long sadly. And it's quite hard to simplify it, because of the JSON structure. You can add me on Discord and I'll send it to you: Paragrimm#9372

Have you tried to do "Save as..."? It works for me to download the zip file again. I've uploaded it to ZeroBin, maybe this works: https://www.zerobin.tk/?7a1b9636f58db302#6J9G5SxKjox4pa5sAD1RPazbzYvZy6nXazD8rSWSvxCa Password is: ciFtw2aYXk