forked from 50n50/sources
Update animepahe/animepahe.js
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user