mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 09:58:14 +01:00
remove old video downloader
This commit is contained in:
parent
d03423f764
commit
4e9411f0d7
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