-
Notifications
You must be signed in to change notification settings - Fork 0
YouTube Cookies
Caution: yt-dlp no longer recommends using YouTube cookies broadly, as they can cause YouTube to issue IP bans in some cases. Use at your own risk.
You can optionally pass your YouTube cookies to Pinchfork to download private playlists, age-restricted content, or members-only videos. This is a feature of yt-dlp — Pinchfork passes the cookie file through to yt-dlp as configured.
- Set up Pinchfork and start the app at least once so all required directories are created.
- Get your login cookies using the yt-dlp cookies guide on your personal computer (not inside the Pinchfork container — you need a browser that's logged into YouTube).
- Do NOT share your cookie file with anyone and do NOT include it in bug reports.
- Locate the
/extras/cookies.txtfile inside your Pinchfork config directory (either on the host at/path/to/config/extras/cookies.txt, or at/config/extras/cookies.txtinside the container). - Paste your cookies into that file.
- That's it — configure Cookie Behaviour on each source that should use them (see below).
If you see YouTube said: The playlist does not exist in the logs, the problem is almost always with how the cookies were acquired or formatted — this is a yt-dlp concern, not a Pinchfork one.
Each source has a Cookie Behaviour field with three options:
- Disabled — cookies are never used for this source.
- When Needed — minimises cookie exposure. Uses cookies for the initial source index, then attempts downloads without cookies first. If a download fails with an error that cookies would fix (age restriction, etc.), it retries once with cookies enabled.
- All Operations — uses cookies for every operation on this source.
Each source also has a Video Client dropdown (used for working around download problems — see SABR Bypass and PO Tokens). Some client options support cookies and some do not:
-
Cookie-compatible clients (e.g.
web_creator,tv) work normally with cookies — selecting one does not affect cookie behavior. -
Cookie-incompatible clients (e.g.
android,ios,android_vr,tv_simply) cannot use cookies at all.
Important: If you select a cookie-incompatible client and also enable cookies (Cookie Behaviour) or members-only downloads on the same source, Pinchfork blocks the save with an explanatory error. A source that needs cookies for members-only content must use a cookie-compatible client. See SABR Bypass and PO Tokens for the full picture.