mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 23:37:48 +01:00
am dum
This commit is contained in:
parent
a3d15f1a2d
commit
cc0a565eae
1 changed files with 3 additions and 3 deletions
|
@ -99,12 +99,12 @@ class InnerTubePokeVidious {
|
||||||
const vid = await this.getJson(videoInfo);
|
const vid = await this.getJson(videoInfo);
|
||||||
const { json, video } = videoData;
|
const { json, video } = videoData;
|
||||||
|
|
||||||
let channel_uploads = null;
|
var channel_uploads = { };
|
||||||
if (f) {
|
if (f) {
|
||||||
channel_uploads = await fetch(
|
channel_uploads = await fetch(
|
||||||
`${this.config.invapi}/channels/${vid.authorId}?hl=${contentlang}®ion=${contentregion}`
|
`${this.config.invapi}/channels/${vid.authorId}?hl=${contentlang}®ion=${contentregion}`
|
||||||
);
|
);
|
||||||
channel_uploads = this.getJson(await channel_uploads.text());
|
var p = this.getJson(await channel_uploads.text());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!vid) {
|
if (!vid) {
|
||||||
|
@ -126,7 +126,7 @@ class InnerTubePokeVidious {
|
||||||
video,
|
video,
|
||||||
vid,
|
vid,
|
||||||
comments,
|
comments,
|
||||||
channel_uploads,
|
channel_uploads: p,
|
||||||
engagement: fe.engagement,
|
engagement: fe.engagement,
|
||||||
wiki: "",
|
wiki: "",
|
||||||
desc: "",
|
desc: "",
|
||||||
|
|
Loading…
Reference in a new issue