add released
This commit is contained in:
parent
048040615a
commit
6ee4a7a9df
@ -52,7 +52,7 @@ const ChannelTabs = {
|
|||||||
streams: "c3RyZWFtcw==", // or "live"
|
streams: "c3RyZWFtcw==", // or "live"
|
||||||
channels: "Y2hhbm5lbHM=",
|
channels: "Y2hhbm5lbHM=",
|
||||||
store: "c3RvcmU=",
|
store: "c3RvcmU=",
|
||||||
released: "cmVsZWFzZWQ=",
|
released: "cmVsZWFzZXM=",
|
||||||
playlist: "cGxheWxpc3Rz",
|
playlist: "cGxheWxpc3Rz",
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -273,16 +273,21 @@ function channelurlfixer(text) {
|
|||||||
ChannelTabs.playlist
|
ChannelTabs.playlist
|
||||||
)}?hl=en-US`;
|
)}?hl=en-US`;
|
||||||
|
|
||||||
|
const releasesUrl = `${apiUrl}${ID}/${atob(
|
||||||
|
ChannelTabs.released
|
||||||
|
)}?hl=en-US`;
|
||||||
|
|
||||||
const channelINVUrl = `${apiUrl}${ID}/`;
|
const channelINVUrl = `${apiUrl}${ID}/`;
|
||||||
|
|
||||||
const pronoun = "no pronouns :c";
|
const pronoun = "no pronouns :c";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
var [tj, shorts, playlist, stream, c, cinv] = await Promise.all([
|
var [tj, shorts, playlist, released, stream, c, cinv] = await Promise.all([
|
||||||
getChannelData(channelUrl),
|
getChannelData(channelUrl),
|
||||||
getChannelData(shortsUrl),
|
getChannelData(shortsUrl),
|
||||||
getChannelData(PlaylistUrl),
|
getChannelData(PlaylistUrl),
|
||||||
|
getChannelData(releasesUrl),
|
||||||
getChannelData(streamUrl),
|
getChannelData(streamUrl),
|
||||||
getChannelData(communityUrl),
|
getChannelData(communityUrl),
|
||||||
getChannelData(channelINVUrl),
|
getChannelData(channelINVUrl),
|
||||||
@ -320,7 +325,7 @@ function channelurlfixer(text) {
|
|||||||
stream,
|
stream,
|
||||||
c,
|
c,
|
||||||
cinv,
|
cinv,
|
||||||
|
released,
|
||||||
},
|
},
|
||||||
timestamp: Date.now(),
|
timestamp: Date.now(),
|
||||||
};
|
};
|
||||||
@ -356,6 +361,7 @@ function channelurlfixer(text) {
|
|||||||
media_proxy_url: media_proxy,
|
media_proxy_url: media_proxy,
|
||||||
getThumbnailUrl,
|
getThumbnailUrl,
|
||||||
continuation,
|
continuation,
|
||||||
|
released,
|
||||||
wiki: "",
|
wiki: "",
|
||||||
getFirstLine,
|
getFirstLine,
|
||||||
isMobile: req.useragent.isMobile,
|
isMobile: req.useragent.isMobile,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user