From b9992fc0df00d0944fc242ac6b86318b871e662a Mon Sep 17 00:00:00 2001 From: Ashley //// Date: Thu, 25 Apr 2024 17:48:30 +0000 Subject: [PATCH] try this --- src/libpoketube/libpoketube-core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libpoketube/libpoketube-core.js b/src/libpoketube/libpoketube-core.js index 8842bb14..968a9b6b 100644 --- a/src/libpoketube/libpoketube-core.js +++ b/src/libpoketube/libpoketube-core.js @@ -112,7 +112,7 @@ async getYouTubeApiVideo(f, v, contentlang, contentregion) { let retryCount = 0; while (vid.error && retryCount < 1) { console.log(`Retrying fetching videoInfo... Retry ${retryCount + 1}`); - const retryVideoInfo = await fetch(`${this.config.invapi}/videos/${v}?hl=${contentlang}®ion=${contentregion}&h=${btoa(Date.now())}`).then((res) => res.text()); + const retryVideoInfo = await fetch(`https://iv.ggtyler.dev/videos/${v}?hl=${contentlang}®ion=${contentregion}&h=${btoa(Date.now())}`).then((res) => res.text()); vid = await this.getJson(retryVideoInfo); retryCount++; }