mirror of
https://git.luna-app.eu/50n50/sources
synced 2026-01-12 01:18:11 +01:00
Update animepahe/animepahe.js
This commit is contained in:
parent
2bd6ed54a1
commit
9287773e75
1 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue