mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 21:37:48 +01:00
remove old video downloader
This commit is contained in:
parent
36a8bec791
commit
b8b5b068ee
1 changed files with 0 additions and 5 deletions
|
@ -40,16 +40,11 @@ module.exports = function (app, config, renderTemplate) {
|
||||||
if (!v) res.redirect("/");
|
if (!v) res.redirect("/");
|
||||||
|
|
||||||
var fetching = await fetcher(v);
|
var fetching = await fetcher(v);
|
||||||
const j = fetching.video.Player.Formats.Format,
|
|
||||||
j_ = Array.isArray(j) ? j[j.length - 1] : j;
|
|
||||||
let url;
|
|
||||||
if (j_.URL != undefined) url = j_.URL;
|
|
||||||
|
|
||||||
const json = fetching.video.Player;
|
const json = fetching.video.Player;
|
||||||
const engagement = fetching.engagement;
|
const engagement = fetching.engagement;
|
||||||
|
|
||||||
renderTemplate(res, req, "download.ejs", {
|
renderTemplate(res, req, "download.ejs", {
|
||||||
url: url,
|
|
||||||
engagement: engagement,
|
engagement: engagement,
|
||||||
k: k,
|
k: k,
|
||||||
video: json,
|
video: json,
|
||||||
|
|
Loading…
Reference in a new issue