YouTube Music Setup

To access your YouTube Music data, you need to provide authentication cookies from your browser.

⚠️ Important Notes:

  • This method requires manual setup but gives you access to your personal data
  • Your cookies will only be stored locally and are not shared
  • You'll need to repeat this process if the cookies expire

Step 1: Open YouTube Music

Go to music.youtube.com and sign in to your account.

Step 2: Open Developer Tools

Press F12 or right-click and select "Inspect Element" to open browser developer tools.

Step 3: Go to Network Tab

Click on the "Network" tab in the developer tools.

Step 4: Find a Request

Refresh the page or navigate around YouTube Music. Look for any request to music.youtube.com in the network list.

Step 5: Copy Cookie Header

Click on one of the requests, go to the "Headers" tab, and find the Cookie header. Copy the entire value.

Step 6: Update Environment Variable

Add the cookie value to your .env file:

YOUTUBE_MUSIC_COOKIE=your_copied_cookie_here

Step 7: Restart Application

Restart the application for the changes to take effect, then try connecting again.