Update src/libpoketube/libpoketube-core.js

This commit is contained in:
Ashley //// 2024-02-26 12:14:52 +00:00
parent b27f39a726
commit 67fc4b76df

View file

@ -82,7 +82,7 @@ class InnerTubePokeVidious {
try {
const [invComments, videoInfo, videoData] = await Promise.all([
fetch(`${this.config.invapi_alt}/comments/${v}?hl=${contentlang}&region=${contentregion}&h=${btoa(Date.now())}`).then((res) => res.text()),
fetch(`${this.config.invapi}/comments/${v}?hl=${contentlang}&region=${contentregion}&h=${btoa(Date.now())}`).then((res) => res.text()),
fetch(`${this.config.invapi_alt}/videos/${v}?hl=${contentlang}&region=${contentregion}&h=${btoa(Date.now())}`).then((res) => res.text()),
curly
.get(`${this.config.tubeApi}video?v=${v}`, {