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) {
|
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/";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user