From 100d6dabbbee764d40819ad850ab7e461fd510d9 Mon Sep 17 00:00:00 2001 From: aka paul <50n50@noreply.localhost> Date: Tue, 6 Jan 2026 14:40:41 +0000 Subject: [PATCH] Update animez/animez.js --- animez/animez.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/animez/animez.js b/animez/animez.js index 88c18fb..277fe5f 100644 --- a/animez/animez.js +++ b/animez/animez.js @@ -7,9 +7,13 @@ async function searchResults(keyword) { let match; while ((match = regex.exec(html)) !== null) { + let title = match[3].trim(); + title = title.replace(/'/g, "'").replace(/"/g, '"').replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>'); + const imageUrl = "https://animeyy.com/" + match[2].trim(); + const passthroughImage = "https://passthrough-worker.simplepostrequest.workers.dev/?simple=" + encodeURIComponent(imageUrl) + "&referer=https://animeyy.com/"; results.push({ - title: match[3].trim(), - image: "https://animeyy.com/" + match[2].trim(), + title: title, + image: passthroughImage, href: "https://animeyy.com" + match[1].trim() }); }