title: HLS Stream URL with Token not playing. 403 Forbidden
body: <p>I have a code to scrape m3u8 links of a site called &quot;<em><strong>streamlive.to</strong></em>&quot;. The site has free links with tokens that expire every 60 mins. A sample of the link can be found <a href="https://www.streamlive.to/view/69956/CBS-(SD)" rel="nofollow noreferrer">here</a>. And <a href="https://nl2.streamlive.to/vlc/dt0qvk6nmdhk8u6/playlist.m3u8?wmsAuthSign=c2VydmVyX3RpbWU9OS8xMC8yMDE5IDc6MzE6MTYgUE0maGFzaF92YWx1ZT1XK1NDbC9Kc05xYmN1NW1vMi9QZTJ3PT0mdmFsaWRtaW51dGVzPTYwJnN0cm1fbGVuPTE5JmlkPTA=" rel="nofollow noreferrer">this is the public m3u8 link for VLC</a> on that page. Note that the token changes every hour.</p>
  <p>My question is, pasting the link in <strong>VLC</strong>, it streams without issues, but if i put the link in <strong>Movian Media Player</strong> or <strong>Kodi</strong> app (<em>which have basic http functionalities but can stream HLS videos</em>), I get a <strong>403 forbidden</strong>. Below is a sample code in ecmascript in Movian:</p>
  <pre><code>page.appendItem(stream_url, 'video', {
      title: stream_name,
      icon: &quot;views/img/play.png&quot;
  });
  </code></pre>
  <p>What could i be missing? Headers? Any help is appreciated. An implementation of streaming the link via <em><strong>nodejs</strong></em> is also appreciated.</p>
  <p><strong>N/B</strong> - <em>An expired token isn't the issue. I scrape the links on demand so i always have a fresh access token.</em></p>