mirror of
https://git.luna-app.eu/50n50/sources
synced 2025-12-21 13:16:21 +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({
|
||||
streams: streams.length > 0 ? streams : [],
|
||||
subtitle: englishSubtitle
|
||||
subtitles: englishSubtitle
|
||||
});
|
||||
} catch (err) {
|
||||
return JSON.stringify({
|
||||
streams: [],
|
||||
subtitle: ""
|
||||
subtitles: ""
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue