I noticed today that player.twitch.tv is getting re-directed to the wrong channel. For example, if I want to play emongg’s channel, the docs (https://dev.twitch.tv/docs/embed/video-and-clips/) specify the URL would be
http://player.twitch.tv/?channel=emongg
. However I am seeing a video from the channel saltybet
instead.
Curl’ing the embed URL is return a 301 redirect response to that channel.
curl -v http://player.twitch.tv/?channel=emongg
* About to connect() to player.twitch.tv port 80 (#0)
* Trying 23.75.192.30...
* Connected to player.twitch.tv (23.75.192.30) port 80 (#0)
> GET /?channel=emongg HTTP/1.1
> User-Agent: curl/7.29.0
> Host: player.twitch.tv
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
< Server: CloudFront
< Content-Type: text/html
< Content-Length: 183
< Location: https://player.twitch.tv/?channel=saltybet
< X-Amz-Cf-Id: s5zyHKRRnIgHAzp-cOFEnPRQAzB-g9ZKL6QvXJw0DVSA8mukJHaWaA==
< Date: Mon, 27 Aug 2018 22:04:21 GMT
< Connection: keep-alive
Is there something wrong on Twitch’s end? These embed URLs have been working for years and just today started to play this channel.