new caption stuff :3

This commit is contained in:
Ashley 2023-06-30 11:23:42 +00:00
parent 6b50d4e577
commit f193630d03

View file

@ -67,7 +67,7 @@ module.exports = function (app, config, renderTemplate) {
const id = req.query.v; const id = req.query.v;
const l = req.query.h; const l = req.query.h;
let url = `https://inner-api.poketube.fun/proxy/caption/${id}/${l}/`; let url = `https://invid-api.poketube.fun/api/v1/captions/${id}?label=${l}`;
let f = await modules.fetch(url); let f = await modules.fetch(url);
const body = await f.text(); const body = await f.text();