This commit is contained in:
Ashley //// 2024-03-29 15:16:03 +00:00
parent fab6f2fd73
commit 04d3a04ea7

View file

@ -350,6 +350,8 @@ module.exports = function (app, config, renderTemplate) {
try { try {
var mediaproxy = config.media_proxy var mediaproxy = config.media_proxy
var contentlang "en-US";
var contentregion = "US";
const { const {
video: k, video: k,
@ -357,9 +359,10 @@ module.exports = function (app, config, renderTemplate) {
engagement, engagement,
comments: inv_comments, comments: inv_comments,
vid: inv_vid, 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 color = data.color;
const color2 = data.color2; const color2 = data.color2;
const desc = data?.desc; const desc = data?.desc;