This commit is contained in:
Ashley //// 2024-03-29 15:34:12 +00:00
parent fae8b7333d
commit 681beb1bdb

View file

@ -354,13 +354,6 @@ module.exports = function (app, config, renderTemplate) {
var contentlang = "en-US"; var contentlang = "en-US";
var contentregion = "US"; var contentregion = "US";
const {
json,
engagement,
comments: inv_comments,
vid: inv_vid,
} = await INNERTUBE?.getYouTubeApiVideo(f, v, contentlang, contentregion);
const data = await INNERTUBE?.getYouTubeApiVideo(f, v, contentlang, contentregion); const data = await INNERTUBE?.getYouTubeApiVideo(f, v, contentlang, contentregion);
const color = data.color; const color = data.color;
@ -368,6 +361,9 @@ module.exports = function (app, config, renderTemplate) {
const desc = data?.desc; const desc = data?.desc;
const isMobile = req.useragent.isMobile; const isMobile = req.useragent.isMobile;
const wiki = data?.wiki; const wiki = data?.wiki;
const json = data?.json;
const inv_vid = data?.vid;
const engagement = data?.engagement
const k = data?.video; const k = data?.video;
const { channel: tj } = data; const { channel: tj } = data;
const u = await media_proxy(v); const u = await media_proxy(v);