Update smashystream/smashystream.js
This commit is contained in:
@@ -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 = [];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user