remove old video downloader

This commit is contained in:
Ashley 2022-12-18 11:21:48 +00:00
parent 1b97c2a7bb
commit 3c056ce243

View file

@ -98,13 +98,6 @@ module.exports = function (app, config, renderTemplate) {
res.redirect(url); 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) => { app.get("/api/subtitles", async (req, res) => {
const id = req.query.v; const id = req.query.v;
const l = req.query.h; const l = req.query.h;