mirror of
https://codeberg.org/ashley/poke.git
synced 2024-12-01 07:37:24 +01:00
remove old video downloader
This commit is contained in:
parent
1b97c2a7bb
commit
3c056ce243
1 changed files with 0 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue