From 284414a994c51798a2d2e6a2b10e44d80bce4527 Mon Sep 17 00:00:00 2001 From: aka paul <50n50@noreply.localhost> Date: Fri, 10 Apr 2026 13:37:08 +0000 Subject: [PATCH] Update animepahe/animepahe.js --- animepahe/animepahe.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/animepahe/animepahe.js b/animepahe/animepahe.js index 06c0caa..9374120 100644 --- a/animepahe/animepahe.js +++ b/animepahe/animepahe.js @@ -165,9 +165,13 @@ async function extractStreamUrl(url) { unpacked.match(/https:\/\/[^\s'";]+\.m3u8/); if (urlMatch) { - const hlsUrl = (urlMatch[1] || urlMatch[0]).replace(/\\+$/, ''); + let hlsUrl = (urlMatch[1] || urlMatch[0]).replace(/\\+$/, ''); const audioType = audio === "eng" ? "Dub" : "Hardsub"; const title = `${resolution}p • ${audioType}`; + + hlsUrl = hlsUrl + .replace("/stream/", "/hls/") + .replace("uwu.m3u8", "owo.m3u8"); return { title: title,