mirror of
https://git.luna-app.eu/50n50/sources
synced 2025-12-22 05:36:32 +01:00
Update iptv-org/iptv-org.js
This commit is contained in:
parent
ba1443b851
commit
3431383a5a
1 changed files with 10 additions and 1 deletions
|
|
@ -78,7 +78,16 @@ async function extractEpisodes(url) {
|
||||||
|
|
||||||
async function extractStreamUrl(url) {
|
async function extractStreamUrl(url) {
|
||||||
try {
|
try {
|
||||||
return url;
|
return JSON.stringify({
|
||||||
|
"streams": [
|
||||||
|
{
|
||||||
|
"title": "Server 1",
|
||||||
|
"streamUrl": url,
|
||||||
|
"headers": {}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"subtitle": ""
|
||||||
|
});
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
return "https://error.org/";
|
return "https://error.org/";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue