Update animepahe/animepahe.js

This commit is contained in:
aka paul 2026-01-03 19:58:57 +00:00
parent 2bd6ed54a1
commit 9287773e75

View file

@ -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"