mirror of
https://git.luna-app.eu/50n50/sources
synced 2025-12-21 21:26:19 +01:00
Update anicore/anicore.js
This commit is contained in:
parent
5c5590a573
commit
d848bebbcd
1 changed files with 6 additions and 3 deletions
|
|
@ -232,15 +232,18 @@ async function extractStreamUrl(url) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
console.log(JSON.stringify({
|
||||||
|
streams: streams.length > 0 ? streams : [],
|
||||||
|
subtitles: englishSubtitle
|
||||||
|
}));
|
||||||
return JSON.stringify({
|
return JSON.stringify({
|
||||||
streams: streams.length > 0 ? streams : [],
|
streams: streams.length > 0 ? streams : [],
|
||||||
subtitle: englishSubtitle
|
subtitles: englishSubtitle
|
||||||
});
|
});
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
return JSON.stringify({
|
return JSON.stringify({
|
||||||
streams: [],
|
streams: [],
|
||||||
subtitle: ""
|
subtitles: ""
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue