mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-10 15:28:26 +01:00
remove old video downloader
This commit is contained in:
parent
efd36eb9f5
commit
38134bb908
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