streamlink / streamlink-twitch-gui

A multi platform Twitch.tv browser for Streamlink
https://streamlink.github.io/streamlink-twitch-gui/
MIT License
2.7k stars 204 forks source link

Streamlink is unable to get an access token for watching streams #966

Closed bastimeyer closed 1 year ago

bastimeyer commented 1 year ago

Twitch has guarded its API against bots, so Streamlink currently can't retrieve any access tokens for watching streams. https://github.com/streamlink/streamlink/issues/5370

Temporary workaround

Use the Twitch API Client-ID of the Nintendo Switch: --twitch-api-header=Client-ID=ue6666qo983tsx6so1t0vnawi233wa

Set this in the custom parameters field in the streaming settings menu after enabling advanced settings.

Or add the parameter to your Streamlink config file https://streamlink.github.io/cli/config.html