1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 02:34:38 -05:00

remove youtubei

This commit is contained in:
Ashley //// 2024-02-11 10:25:28 +00:00
parent ce0ca2b24f
commit 5f0bbfbb50

View file

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