1
Fork 0

Update src/libpoketube/libpoketube-core.js

This commit is contained in:
ashley 2024-08-10 18:47:10 +00:00
parent a60ce8a9d9
commit 20d6128206

View file

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