Skip to content

Commit

Permalink
readme: try to explain auth tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
2bc4 committed Feb 19, 2024
1 parent d430ff2 commit 7492123
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ These servers can be used to block ads with `-s`. They work by requesting the ma
- `https://eu2.luminous.dev/live/[channel]` (Europe 2)
- `https://as.luminous.dev/live/[channel]` (Asia)

### Using your turbo/subscriber token
With `--auth-token` you can set an OAuth token to be used when fetching the master playlist. Twitch won't serve ads if the Twitch account associated with the OAuth token is subscribed to turbo or the specific channel you're watching.

To find your token, navigate to the Twitch website in a browser and open your browser's devtools (press F12). Click the `Application` (Chrome) or `Storage` (Firefox) tab and find `https://www.twitch.tv` under `Cookies` on the left. Your token is the string of characters beside the cookie named `auth-token`.

### Config file
Almost every option can also be set via config file. Example config file with all possible values set (values are made up):
```
Expand Down

0 comments on commit 7492123

Please sign in to comment.