This commit is contained in:
ashley 2024-07-15 20:04:43 +00:00
parent 1b2e86f5f8
commit cd27910117

View file

@ -262,10 +262,12 @@ const streamUrl = ChannelTabs.streams ? `${apiUrl}${ID}/${atob(ChannelTabs.strea
const communityUrl = ChannelTabs.community ? `${apiUrl}${atob(ChannelTabs.community)}/${ID}/?hl=en-US` : null; const communityUrl = ChannelTabs.community ? `${apiUrl}${atob(ChannelTabs.community)}/${ID}/?hl=en-US` : null;
const PlaylistUrl = ChannelTabs.playlist ? `${apiUrl}${atob(ChannelTabs.playlist)}/${ID}/?hl=en-US` : null; const PlaylistUrl = ChannelTabs.playlist ? `${apiUrl}${atob(ChannelTabs.playlist)}/${ID}/?hl=en-US` : null;
const fetchData = async (url) => { const fetchData = async (url) => {
return url ? getChannelData(url) : null; return url ? getChannelData(url) : "";
}; };
var [tj, shorts, playlist, stream, c] = await Promise.all([ var [tj, shorts, playlist, stream, c] = await Promise.all([
fetchData(channelUrl), fetchData(channelUrl),
fetchData(shortsUrl), fetchData(shortsUrl),