1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2025-01-31 02:33:31 -05:00

use iytimg

This commit is contained in:
ashley 2024-08-10 19:24:42 +00:00
parent 20d6128206
commit 50f0345f91

View file

@ -140,10 +140,10 @@ class InnerTubePokeVidious {
wiki: "", wiki: "",
desc: "", desc: "",
color: await getColors( color: await getColors(
`https://vid.puffyan.us/vi/${v}/hqdefault.jpg?sqp=${this.sqp}` `https://i.ytimg.com/vi/${v}/hqdefault.jpg?sqp=${this.sqp}`
).then((colors) => colors[0].hex()), ).then((colors) => colors[0].hex()),
color2: await getColors( color2: await getColors(
`https://vid.puffyan.us/vi/${v}/hqdefault.jpg?sqp=${this.sqp}` `https://i.ytimg.com/vi/${v}/hqdefault.jpg?sqp=${this.sqp}`
).then((colors) => colors[1].hex()), ).then((colors) => colors[1].hex()),
}, },
timestamp: Date.now(), timestamp: Date.now(),