The webpage only returns
let te = new TwitchEmbed({ clientID: 'Hidden', channelLogin: 'Hidden', // or a login autoEmbed: true, embedParent: document.getElementById('embed-attach'), muted: true, autoplay: true, width: 480, height: 270 }); te.on('online', stream => { console.log('Stream started', (Date.now() - new Date(started_at)) / 1000 / 60 / 60, 'hours ago'); }); te.on('offline', () => { console.log('Stream ended'); });