From 23aa55a186447da6ae870ef002115d2d800877a7 Mon Sep 17 00:00:00 2001 From: Ashley Date: Sat, 28 Jan 2023 18:27:20 +0000 Subject: [PATCH] aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa --- src/libpoketube/init/pages-channel-and-download.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/libpoketube/init/pages-channel-and-download.js b/src/libpoketube/init/pages-channel-and-download.js index b5bd3081..e0a66a76 100644 --- a/src/libpoketube/init/pages-channel-and-download.js +++ b/src/libpoketube/init/pages-channel-and-download.js @@ -142,13 +142,17 @@ module.exports = function (app, config, renderTemplate) { var continuation = ""; } + try { //videos const a = await modules - .fetch(`https://inv.riverside.rocks/api/v1/channels/videos/${ID}/`) + .fetch(`https://inv.vern.cc/api/v1/channels/videos/${ID}/`) .then((res) => res.text()); var tj = await getJson(a); - + } catch { + var tj = " " + } + const community = await modules .fetch(`${config.invapi}/channels/community/${ID}/`) .then((res) => res.text());