mirror of
https://codeberg.org/ashley/poke
synced 2026-04-19 16:47:59 +00:00
@@ -122,6 +122,12 @@ 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);
|
const fe = await getdislikes(v);
|
||||||
|
|
||||||
@@ -133,7 +139,7 @@ class InnerTubePokeVidious {
|
|||||||
result: {
|
result: {
|
||||||
json: json?.video,
|
json: json?.video,
|
||||||
video,
|
video,
|
||||||
vid,
|
vidOBJECT,
|
||||||
comments,
|
comments,
|
||||||
channel_uploads: p,
|
channel_uploads: p,
|
||||||
engagement: fe.engagement,
|
engagement: fe.engagement,
|
||||||
@@ -150,6 +156,8 @@ class InnerTubePokeVidious {
|
|||||||
};
|
};
|
||||||
|
|
||||||
return this.cache[v].result;
|
return this.cache[v].result;
|
||||||
|
|
||||||
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
this.initError("Error getting video", error);
|
this.initError("Error getting video", error);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user