This is optional, but if you want to access further content such as restricted content, you need to use your own YouTube cookies.
And, of course, you have to sign in to Google first.
- Open a new tab.
- Open inspect element first by doing CTRL + SHIFT + I, or F12
- Visit https://youtube.com
- Wait until it fully loaded.
- Open your inspect element again.
- Find network tab.
- Find
youtube.com
, you can sort Waterfall from up
- Click
youtube.com
- Scroll down and find Request Headers
- Inside the Request Headers, copy the
cookie
value.
- Paste the
cookie
value toYOUTUBE_COOKIE=
on your .env file.
- Restart the app.