Skip to content

Commit

Permalink
updated discord-player-youtubei
Browse files Browse the repository at this point in the history
  • Loading branch information
LakhindarPal committed Aug 4, 2024
1 parent c993345 commit 633ce0e
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 370 deletions.
3 changes: 1 addition & 2 deletions .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,4 @@ SUPPORT_SERVER=https://discord.gg/invite/abc123
NODE_ENV=production

# Youtube Authentication (optional)
YT_ACCESS_TOKEN=xyz-your-youtube-access-token-here-abc-123
YT_REFRESH_TOKEN=xyz-your-youtube-refresh-token-here-abc-123
YT_CREDENTIAL="xyz-your-;youtube-access-credential;here-abc-123"
Binary file modified bun.lockb
Binary file not shown.
5 changes: 2 additions & 3 deletions docs/INSTALLATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,15 @@ Ensure you have the following before setup:
4. **DEV_IDS**: Comma-separated list of developer IDs.
5. **SUPPORT_SERVER**: Link to the discord support server.
(Required, for youtube support)
6. **YT_ACCESS_TOKEN**: Youtube access token
7. **YT_REFRESH_TOKEN**: Youtube refresh token
6. **YT_CREDENTIAL**: Youtube authentican credentials

### Generating Youtube Tokens

1. Signing into YouTube `npx --no discord-player-youtubei`
2. Follow the guide in terminal and login using google account.
Make sure you are using a throwaway account to login. Using your main account may result in ban or suspension.
3. The token will be printed out shortly.
4. Note down the `access_token`,`refresh_token`, `expiry_date` etc.
4. Note down the credential string.

### Setup Steps

Expand Down
Loading

0 comments on commit 633ce0e

Please sign in to comment.