mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-10 15:08: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("/");
|
||||
|
||||
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 engagement = fetching.engagement;
|
||||
|
||||
renderTemplate(res, req, "download.ejs", {
|
||||
url: url,
|
||||
engagement: engagement,
|
||||
k: k,
|
||||
video: json,
|
||||
|
|
Loading…
Reference in a new issue