From 9a26c2a3320051f4d59cdb3ac3809285768dd26c Mon Sep 17 00:00:00 2001 From: Ashley Date: Sat, 10 Jun 2023 08:12:21 +0000 Subject: [PATCH] fix download page :p --- src/libpoketube/init/pages-api.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/libpoketube/init/pages-api.js b/src/libpoketube/init/pages-api.js index 51cd6fa8..7696f96e 100644 --- a/src/libpoketube/init/pages-api.js +++ b/src/libpoketube/init/pages-api.js @@ -57,11 +57,7 @@ module.exports = function (app, config, renderTemplate) { if (req.query.f) { var format = "mp3"; } - - var fetching = await fetcher(v); - - const json = fetching.video.Player; - + const url = `https://tube.kuylar.dev/proxy/media/${v}/${q}`; res.redirect(url);