streamlink / streamlink-twitch-gui

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

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

Closed bastimeyer closed 11 months 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