Signed-off-by: ashley <iamashley@duck.com>
This commit is contained in:
ashley 2024-08-10 18:43:50 +00:00
parent 90f5f08160
commit a60ce8a9d9

View file

@ -122,6 +122,12 @@ class InnerTubePokeVidious {
);
}
var vidOBJECT = ""
if(vid.error) {
var vidOBJECT = vid.error
} else {
var vidOBJECT = vid
}
if (this.checkUnexistingObject(vid)) {
const fe = await getdislikes(v);
@ -133,7 +139,7 @@ class InnerTubePokeVidious {
result: {
json: json?.video,
video,
vid,
vidOBJECT,
comments,
channel_uploads: p,
engagement: fe.engagement,
@ -150,6 +156,8 @@ class InnerTubePokeVidious {
};
return this.cache[v].result;
} catch (error) {
this.initError("Error getting video", error);
}