Created
August 10, 2024 17:08
-
-
Save uahim/0303138681bcb922c83638e34029cfeb to your computer and use it in GitHub Desktop.
generate joyn free channellist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// use in console | |
var channels = ""; | |
for (var i = 0, l = schemaObj.props.pageProps.liveStreams.length; i < l; ++i) { | |
var chan = schemaObj.props.pageProps.liveStreams[i]; | |
if (chan.id.indexOf("-hd") == -1 ) { | |
//if (chan.brand.path == null) { | |
var link = chan.brand.id; | |
var name = chan.brand.title; | |
channels += '<a href="https://www.joyn.de/play/live-tv?channel_id=' + link + '">' + name + '</a><br />\n'; | |
//} | |
} | |
} | |
copy(channels) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment