From 0f0e142dafe21abbb28db5d3f5efcea0c2327d85 Mon Sep 17 00:00:00 2001 From: ashley Date: Sat, 15 Jun 2024 11:52:43 +0000 Subject: [PATCH] change api url :3 --- src/libpoketube/init/pages-channel-and-download.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libpoketube/init/pages-channel-and-download.js b/src/libpoketube/init/pages-channel-and-download.js index 1d031d2d..2339b1fe 100644 --- a/src/libpoketube/init/pages-channel-and-download.js +++ b/src/libpoketube/init/pages-channel-and-download.js @@ -189,7 +189,7 @@ module.exports = function (app, config, renderTemplate) { const { fetch } = await import("undici"); - const search = await fetch(atob("aHR0cHM6Ly80Z2V0LnN1ZG92YW5pbGxhLm9yZy9hcGkvdjEvd2ViP3M9") + query); + const search = await fetch(atob("aHR0cHM6Ly9zZWFyY2guc3Vkb3ZhbmlsbGEub3JnL2FwaS92MS93ZWI/cz0=") + query); const web = getJson(await search.text()); if (req.query.lucky === "true") {