Skip to content

Instantly share code, notes, and snippets.

@uahim
Created August 10, 2024 17:08
Show Gist options
  • Save uahim/0303138681bcb922c83638e34029cfeb to your computer and use it in GitHub Desktop.
Save uahim/0303138681bcb922c83638e34029cfeb to your computer and use it in GitHub Desktop.
generate joyn free channellist
// 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