mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 17:38:16 +01:00
yes
This commit is contained in:
parent
b1c2863b99
commit
88ddad58de
1 changed files with 4 additions and 1 deletions
|
@ -123,7 +123,10 @@ app.get("/download", async function (req, res) {
|
||||||
engagement: engagement,
|
engagement: engagement,
|
||||||
k: k,
|
k: k,
|
||||||
video: json,
|
video: json,
|
||||||
date: moment(k.Video.uploadDate).format("LL")
|
date: moment(k.Video.uploadDate).format("LL"),
|
||||||
|
color: await getColors(
|
||||||
|
`https://i.ytimg.com/vi/${v}/maxresdefault.jpg`
|
||||||
|
).then((colors) => colors[0].hex()),
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue