Update iptv-org/iptv-org.js
This commit is contained in:
+10
-1
@@ -78,7 +78,16 @@ async function extractEpisodes(url) {
|
||||
|
||||
async function extractStreamUrl(url) {
|
||||
try {
|
||||
return url;
|
||||
return JSON.stringify({
|
||||
"streams": [
|
||||
{
|
||||
"title": "Server 1",
|
||||
"streamUrl": url,
|
||||
"headers": {}
|
||||
}
|
||||
],
|
||||
"subtitle": ""
|
||||
});
|
||||
} catch (err) {
|
||||
return "https://error.org/";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user