diff --git a/src/libpoketube/libpoketube-core.js b/src/libpoketube/libpoketube-core.js index 8ffb135e..75677c8f 100644 --- a/src/libpoketube/libpoketube-core.js +++ b/src/libpoketube/libpoketube-core.js @@ -96,6 +96,11 @@ class PokeTubeCore { const vid = await this.getJson(videoInfo); const { json, video } = videoData; + const channel_uploads = await fetch( + `${this.config.invapi}/channels/${vid.authorId}?hl=${contentlang}®ion=${contentregion}` + ); + const p = this.getJson(await channel_uploads.text()); + if (!vid) { console.log( `Sorry nya, we couldn't find any information about that video qwq` @@ -115,6 +120,7 @@ class PokeTubeCore { video, vid, comments, + channel_uploads:p, engagement: fe.engagement, wiki: "", desc: "",