-
Notifications
You must be signed in to change notification settings - Fork 132
YouTube Cookies
Kieran edited this page Mar 25, 2024
·
9 revisions
You can optionally pass along your YouTube cookies to download private playlists or age-restricted content. I don't know if this presents any risk of your account getting banned - perform at your own risk.
Here's how to set it up:
- Set up Pinchflat and start the app at least once so all the required directories are created
- Get your login cookies using this guide. In my case, this comment helped.
- Do NOT share your cookie file with anyone and do NOT include it in bug reports
- Locate your config directory for Pinchflat (either on the host or in the container) and look for the
/extras/cookies.txtfile. This file should be empty.- If you're decent in the CLI, open the container's console and run
nano /config/extras/cookies.txt
- If you're decent in the CLI, open the container's console and run
- Paste your cookies from step 1 in the
cookies.txtfile - That's it! You don't need to reboot the app.
If you're having trouble, check your Docker container logs. If you see something like YouTube said: The playlist does not exist, there's a very high chance the problem is how you've acquired or formatted your cookies which is a concern of yt-dlp, not Pinchflat. Feel free to open an issue, but you'll have more luck checking out the yt-dlp issue tracker/Discord.