mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-17 00:14:39 -05:00
should fix channels
This commit is contained in:
parent
22e804850b
commit
a638c930cc
1 changed files with 19 additions and 15 deletions
|
@ -247,21 +247,25 @@ const xmlData = await fetch(searchUrl)
|
||||||
};
|
};
|
||||||
|
|
||||||
const apiUrl = config.invapi + "/channels/";
|
const apiUrl = config.invapi + "/channels/";
|
||||||
const channelUrl = `${apiUrl}${atob(
|
const channelUrl = `${apiUrl}${ID}/${atob(
|
||||||
ChannelTabs.videos
|
ChannelTabs.videos
|
||||||
)}/${ID}/?sort_by=${sort_by}${continuation}`;
|
)}?sort_by=${sort_by}${continuation}`;
|
||||||
|
|
||||||
const shortsUrl = `${apiUrl}${ID}/${atob(
|
const shortsUrl = `${apiUrl}${ID}/${atob(
|
||||||
ChannelTabs.shorts
|
ChannelTabs.shorts
|
||||||
)}?sort_by=${sort_by}${continuations}`;
|
)}?sort_by=${sort_by}${continuation}`;
|
||||||
|
|
||||||
const streamUrl = `${apiUrl}${ID}/${atob(
|
const streamUrl = `${apiUrl}${ID}/${atob(
|
||||||
ChannelTabs.streams
|
ChannelTabs.streams
|
||||||
)}?sort_by=${sort_by}${continuationl}`;
|
)}?sort_by=${sort_by}${continuation}`;
|
||||||
const communityUrl = `${apiUrl}${atob(
|
|
||||||
|
const communityUrl = `${apiUrl}${ID}/${atob(
|
||||||
ChannelTabs.community
|
ChannelTabs.community
|
||||||
)}/${ID}/?hl=en-US`;
|
)}?hl=en-US`;
|
||||||
const PlaylistUrl = `${apiUrl}${atob(
|
|
||||||
|
const playlistUrl = `${apiUrl}${ID}/${atob(
|
||||||
ChannelTabs.playlist
|
ChannelTabs.playlist
|
||||||
)}/${ID}/?hl=en-US`;
|
)}?hl=en-US`;
|
||||||
|
|
||||||
const channelINVUrl = `${apiUrl}${ID}/`;
|
const channelINVUrl = `${apiUrl}${ID}/`;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue