From 04d3a04ea771a7d1477091fe38cd828ee958f2bd Mon Sep 17 00:00:00 2001 From: Ashley //// Date: Fri, 29 Mar 2024 15:16:03 +0000 Subject: [PATCH] bleh --- src/libpoketube/init/pages-video.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/libpoketube/init/pages-video.js b/src/libpoketube/init/pages-video.js index 819df5de..8b370f76 100644 --- a/src/libpoketube/init/pages-video.js +++ b/src/libpoketube/init/pages-video.js @@ -350,6 +350,8 @@ module.exports = function (app, config, renderTemplate) { try { var mediaproxy = config.media_proxy + var contentlang "en-US"; + var contentregion = "US"; const { video: k, @@ -357,9 +359,10 @@ module.exports = function (app, config, renderTemplate) { engagement, comments: inv_comments, vid: inv_vid, - } = await INNERTUBE?.getYouTubeApiVideo(f, v); + } = await INNERTUBE?.getYouTubeApiVideo(f, v, contentlang, contentregion); - const data = await INNERTUBE?.getYouTubeApiVideo(f, v); + + const data = await INNERTUBE?.getYouTubeApiVideo(f, v, contentlang, contentregion); const color = data.color; const color2 = data.color2; const desc = data?.desc;