From 9287773e751254aa847652284d42d6fc7f67aac3 Mon Sep 17 00:00:00 2001 From: aka paul <50n50@noreply.localhost> Date: Sat, 3 Jan 2026 19:58:57 +0000 Subject: [PATCH] Update animepahe/animepahe.js --- animepahe/animepahe.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/animepahe/animepahe.js b/animepahe/animepahe.js index 5471358..ea3eb45 100644 --- a/animepahe/animepahe.js +++ b/animepahe/animepahe.js @@ -148,13 +148,13 @@ async function extractStreamUrl(url) { unpacked.match(/https:\/\/[^\s'";]+\.m3u8/); if (urlMatch) { - const hlsUrl = urlMatch[1] || urlMatch[0]; + const hlsUrl = (urlMatch[1] || urlMatch[0]).replace(/\\+$/, ''); const audioType = audio === "eng" ? "Dub" : "Hardsub"; const title = `${resolution}p • ${audioType}`; streams.push({ title: title, - streamUrl: hlsUrl, + streamUrl: hlsUrl.replace("uwu.m3u8", "owo.m3u8"), headers: { "Referer": "https://kwik.cx/", "Origin": "https://kwik.cx"