Update viper.ts

This commit is contained in:
Pas 2025-03-17 10:31:22 -07:00
parent e82ae630da
commit 1acd83fbb7

View file

@ -22,7 +22,7 @@ export const viperScraper = makeEmbed({
const playlistUrl = apiResponse.body.source.replace(/^.*\/viper\//, 'https://');
// You need to set a proxy for flixhq CDN streams. Set up your own from this repo: https://github.com/Pasithea0/M3U8-Proxy
const proxiedPlaylist = `https://proxy-m3u8.uira.live/m3u8-proxy?url=${encodeURIComponent(playlistUrl)}&headers=${encodeURIComponent(JSON.stringify({ Referer: 'https://megacloud.store/' }))}`;
const proxiedPlaylist = `https://fed-m3u8.pstream.org/m3u8-proxy?url=${encodeURIComponent(playlistUrl)}&headers=${encodeURIComponent(JSON.stringify({ referer: 'https://megacloud.store/', origin: 'https://megacloud.store' }))}`;
return {
stream: [