From 9bd67779ec2e3cca58fe57610924000ebf1b5d86 Mon Sep 17 00:00:00 2001 From: mudkipscience Date: Sun, 19 Apr 2020 00:14:54 +1000 Subject: [PATCH] switched to a faster invidious instance --- utils/music.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/music.js b/utils/music.js index ec83e29..7505328 100644 --- a/utils/music.js +++ b/utils/music.js @@ -56,10 +56,10 @@ module.exports = client => { try { const id = await ytdl.getURLVideoID(query) - resp = await fetch('https://invidio.us/api/v1/videos/' + id) + resp = await fetch('https://invidious.snopyta.org/api/v1/videos/' + id) console.log(resp) } catch (err) { - resp = await fetch('https://invidio.us/api/v1/search?q=' + encodeURIComponent(query)) + resp = await fetch('https://invidious.snopyta.org/api/v1/search?q=' + encodeURIComponent(query)) } const parsed = await resp.json()