mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-28 16:29:02 +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);
|
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;
|
||||||
|
|
Loading…
Reference in a new issue