mirror of
https://codeberg.org/ashley/poke.git
synced 2024-12-24 04:28:03 +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);
|
||||
});
|
||||
|
||||
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