Update smashystream/smashystream.js

This commit is contained in:
aka paul 2025-10-22 12:28:03 +00:00
parent ccd92a5580
commit c26a3a798b

View file

@ -223,7 +223,7 @@ async function extractStreamUrl(ID) {
const streamdata = decryptData.result.hls; const streamdata = decryptData.result.hls;
const stream = "https://proxy.aether.mom/m3u8-proxy?url=https://smashyplayer.top"+streamdata; const stream = "https://proxy.aether.mom/m3u8-proxy?url=https://smashyplayer.top"+streamdata;
console.log(stream); console.log(stream);
const subsEng = decryptData.result.subtitle["English"] || "https://error.org/"; const subsEng = decryptData?.result?.subtitle?.["English"] || "https://error.org/";
const streams = []; const streams = [];
@ -283,7 +283,7 @@ async function extractStreamUrl(ID) {
: ""; : "";
const stream = baseUrl + streamdata; const stream = baseUrl + streamdata;
console.log(stream); console.log(stream);
const subsEng = decryptData.result.subtitle?.English || "https://error.org"; const subsEng = decryptData?.result?.subtitle?.["English"] || "https://error.org/";
const streams = []; const streams = [];