1
Fork 0
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 {
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;