This commit is contained in:
Ashley //// 2024-04-26 15:50:27 +00:00
parent 35e06ef2e8
commit 49c03bf3c0

View file

@ -96,8 +96,10 @@ async getYouTubeApiVideo(f, v, contentlang, contentregion) {
}),
]);
const comments = await this.getJson(invComments);
let vid = await this.getJson(videoInfo);
const vid = await this.getJson(videoInfo);
const { json, video } = videoData;
var channel_uploads = { };
@ -108,7 +110,6 @@ async getYouTubeApiVideo(f, v, contentlang, contentregion) {
var p = this.getJson(await channel_uploads.text());
}
if (!vid) {
console.log(
`Sorry nya, we couldn't find any information about that video qwq`