mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 19:37:48 +01:00
fix urls
This commit is contained in:
parent
53b2da3ce2
commit
806c3c5093
1 changed files with 2 additions and 2 deletions
|
@ -114,7 +114,7 @@ app.get("/avatars/:v", async function (req, res) {
|
||||||
var format = "mp3";
|
var format = "mp3";
|
||||||
}
|
}
|
||||||
|
|
||||||
const url = `https://tube-proxy.poketube.fun/proxy/media/${v}/${q}`;
|
const url = `https://tube.kuylar.dev/proxy/media/${v}/${q}`;
|
||||||
|
|
||||||
res.redirect(url);
|
res.redirect(url);
|
||||||
});
|
});
|
||||||
|
@ -126,7 +126,7 @@ app.get("/avatars/:v", async function (req, res) {
|
||||||
const l = req.query.h;
|
const l = req.query.h;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
let url = `https://yt.sudovanilla.com/api/v1/captions/${id}?label=${l}`;
|
let url = `https://vid.puffyan.us/api/v1/captions/${id}?label=${l}`;
|
||||||
|
|
||||||
let f = await fetch(url);
|
let f = await fetch(url);
|
||||||
const body = await f.text();
|
const body = await f.text();
|
||||||
|
|
Loading…
Reference in a new issue