Skip to content

Instantly share code, notes, and snippets.

@l-t-s
Last active December 19, 2022 12:51
Show Gist options
  • Save l-t-s/c2c89dda7b5d3ab4cefe9ebea0201ae1 to your computer and use it in GitHub Desktop.
Save l-t-s/c2c89dda7b5d3ab4cefe9ebea0201ae1 to your computer and use it in GitHub Desktop.
@loligans
Copy link

loligans commented Mar 21, 2022

The configuration is now saved in:
Windows: %APPDATA%\streamlink\config
MacOS: ${HOME}/Library/Application Support/streamlink/config
Linux: ${XDG_CONFIG_HOME:-${HOME}/.config}/streamlink/config

Aside from the above, the configuration properties still work as of Feb, 2022.

You might be able to pass an OAuth token to gain access to your subscribed channels Ad Free by doing the below:

To retrieve the OAuth token read this GitHub Discussion: streamlink/streamlink#4400 (comment)

Here is a summary of the discussion (in case link dies):

1. Log in on Twitch.tv in your web browser
2. Press F12, go to the networks tab
3. Click on any of the gql.twitch.tv HTTP requests
4. Copy the value of the Authorization request header, which is OAuth YOUROAUTHTOKEN
5. Set the --twitch-api-header "Authorization=OAuth YOUROAUTHTOKEN" CLI parameter+value

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment