From c26a3a798b74c33bba110e10495e5fb11bca39ff Mon Sep 17 00:00:00 2001 From: aka paul <50n50@noreply.localhost> Date: Wed, 22 Oct 2025 12:28:03 +0000 Subject: [PATCH] Update smashystream/smashystream.js --- smashystream/smashystream.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/smashystream/smashystream.js b/smashystream/smashystream.js index c195cad..17a59fb 100644 --- a/smashystream/smashystream.js +++ b/smashystream/smashystream.js @@ -223,7 +223,7 @@ async function extractStreamUrl(ID) { const streamdata = decryptData.result.hls; const stream = "https://proxy.aether.mom/m3u8-proxy?url=https://smashyplayer.top"+streamdata; console.log(stream); - const subsEng = decryptData.result.subtitle["English"] || "https://error.org/"; + const subsEng = decryptData?.result?.subtitle?.["English"] || "https://error.org/"; const streams = []; @@ -283,7 +283,7 @@ async function extractStreamUrl(ID) { : ""; const stream = baseUrl + streamdata; console.log(stream); - const subsEng = decryptData.result.subtitle?.English || "https://error.org"; + const subsEng = decryptData?.result?.subtitle?.["English"] || "https://error.org/"; const streams = [];