twitch.sh: Client-ID is not required after a token is requested - twitch-go - twitch.tv web application in Go
HTML git clone git://git.codemadness.org/twitch-go
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 05d370c0b80ab9f2c75c8533782e63cf65b2e6a7
DIR parent d1d8ef8c6e8114644913d3ef7e15c1a60b0946c2
HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 20 Sep 2016 22:00:47 +0200
twitch.sh: Client-ID is not required after a token is requested
Diffstat:
M data/static/twitch.sh | 1 -
1 file changed, 0 insertions(+), 1 deletion(-)
---
DIR diff --git a/data/static/twitch.sh b/data/static/twitch.sh
@@ -19,7 +19,6 @@ sig=$(printf '%s' "${tokendata}" | sed -E 's@.*"sig":"([^"]*)".*@\1@g')
if test x"$token" != x"" && test x"$sig" != x""; then
curl -G \
- -H "Client-ID: ${clientid}" \
"http://usher.justin.tv/api/channel/hls/${channel}.m3u8" \
--data-urlencode "token=${token}" \
--data-urlencode "sig=${sig}"