From 3c056ce2431c842b7b1e0186eaa5bd4454b2ccb2 Mon Sep 17 00:00:00 2001 From: Ashley Date: Sun, 18 Dec 2022 11:21:48 +0000 Subject: [PATCH] remove old video downloader --- src/libpoketube/init/pages-api.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/libpoketube/init/pages-api.js b/src/libpoketube/init/pages-api.js index 1f37b3c3..6a1e5ad2 100644 --- a/src/libpoketube/init/pages-api.js +++ b/src/libpoketube/init/pages-api.js @@ -98,13 +98,6 @@ module.exports = function (app, config, renderTemplate) { res.redirect(url); }); - app.get("/api/video/downloadjson", async function (req, res) { - var v = req.query.v; - var fetching = await fetcher(v); - const url = fetching.video.Player.Formats.Format[1].URL; - res.json(url); - }); - app.get("/api/subtitles", async (req, res) => { const id = req.query.v; const l = req.query.h;