should fix channels

This commit is contained in:
ashley 2024-11-12 20:07:04 +00:00
parent 22e804850b
commit a638c930cc

View file

@ -247,21 +247,25 @@ const xmlData = await fetch(searchUrl)
};
const apiUrl = config.invapi + "/channels/";
const channelUrl = `${apiUrl}${atob(
const channelUrl = `${apiUrl}${ID}/${atob(
ChannelTabs.videos
)}/${ID}/?sort_by=${sort_by}${continuation}`;
)}?sort_by=${sort_by}${continuation}`;
const shortsUrl = `${apiUrl}${ID}/${atob(
ChannelTabs.shorts
)}?sort_by=${sort_by}${continuations}`;
)}?sort_by=${sort_by}${continuation}`;
const streamUrl = `${apiUrl}${ID}/${atob(
ChannelTabs.streams
)}?sort_by=${sort_by}${continuationl}`;
const communityUrl = `${apiUrl}${atob(
)}?sort_by=${sort_by}${continuation}`;
const communityUrl = `${apiUrl}${ID}/${atob(
ChannelTabs.community
)}/${ID}/?hl=en-US`;
const PlaylistUrl = `${apiUrl}${atob(
)}?hl=en-US`;
const playlistUrl = `${apiUrl}${ID}/${atob(
ChannelTabs.playlist
)}/${ID}/?hl=en-US`;
)}?hl=en-US`;
const channelINVUrl = `${apiUrl}${ID}/`;