From 47bfde44ecb3e8e4fb175399d8df06d14d3bb130 Mon Sep 17 00:00:00 2001 From: Ashley Date: Sun, 5 Mar 2023 18:04:50 +0000 Subject: [PATCH] fix dis lel --- src/libpoketube/libpoketube-core.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libpoketube/libpoketube-core.js b/src/libpoketube/libpoketube-core.js index 31424d0f..42a2d061 100644 --- a/src/libpoketube/libpoketube-core.js +++ b/src/libpoketube/libpoketube-core.js @@ -24,7 +24,7 @@ const sqp = const config = { tubeApi: "https://api.poketube.fun/api/", - invapi: "https://invidious.slipfox.xyz/api/v1", + invapi: "https://invidious.privacydev.net/api/v1", dislikes: "https://returnyoutubedislikeapi.com/votes?videoId=", t_url: "https://t.poketube.fun/", // def matomo url }; @@ -93,7 +93,7 @@ async function video(v) { let vid; try { - const videoInfo = await fetch(`https://invidious.slipfox.xyz/api/v1/videos/${v}`).then(res => res.text()); + const videoInfo = await fetch(`${config.invapi}/videos/${v}`).then(res => res.text()); vid = await getJson(videoInfo); } catch (error) {