From 681beb1bdb123fabb479128550191e0bfc8f6763 Mon Sep 17 00:00:00 2001 From: Ashley //// Date: Fri, 29 Mar 2024 15:34:12 +0000 Subject: [PATCH] lets see --- src/libpoketube/init/pages-video.js | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/libpoketube/init/pages-video.js b/src/libpoketube/init/pages-video.js index a225108a..ff85c33f 100644 --- a/src/libpoketube/init/pages-video.js +++ b/src/libpoketube/init/pages-video.js @@ -354,20 +354,16 @@ module.exports = function (app, config, renderTemplate) { var contentlang = "en-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 color = data.color; const color2 = data.color2; const desc = data?.desc; const isMobile = req.useragent.isMobile; const wiki = data?.wiki; + const json = data?.json; + const inv_vid = data?.vid; + const engagement = data?.engagement const k = data?.video; const { channel: tj } = data; const u = await media_proxy(v);