-
-
Notifications
You must be signed in to change notification settings - Fork 78
YouTube Cookies Setup
This page explains when you actually need YouTube cookies in PigeonPod and how to export them safely.
Use this page when:
- downloads fail with
Sign in to confirm you're not a bot - you need age-restricted, members-only, or other account-protected YouTube content
- public YouTube access is unreliable from your deployment environment
Do not use this page as a default setup step. Most users do not need YouTube cookies for normal public content.
Before you start, make sure you have:
- a working PigeonPod instance
- access to User Settings
- a browser you trust
- a YouTube account
- a browser extension that can export
cookies.txt
Recommended extensions:
- Chrome: Get cookies.txt LOCALLY
- Firefox: cookies.txt
Security note:
- be careful with browser extensions
- if you previously used the old Chrome extension named
Get cookies.txtwithoutLOCALLY, remove it
YouTube cookies are useful when:
- YouTube applies bot checks to your server IP
- the instance runs from a cloud or datacenter network
- the content requires an authenticated account
You usually do not need cookies for:
- normal public videos
- a fresh setup that is already working without YouTube challenges
Start with a fresh private browsing session.
Then:
- open one private/incognito window
- log in to your YouTube account there
- avoid opening extra private tabs for the same session if possible
The goal is to export a clean cookie session that will not be reused later.
In the same private/incognito session, open:
https://www.youtube.com/robots.txt
This is the page you should use before exporting cookies.
Use your browser extension to export cookies for youtube.com.
Requirements:
- export a real
cookies.txtfile - do not use other unsupported formats
- keep the file private
Important limitation:
- PigeonPod expects uploaded
cookies.txtcontent - this workflow is not the same as using
yt-dlp --cookies-from-browser
After exporting:
- close the private/incognito window
- do not keep browsing with the same session
This reduces the chance of the exported cookies being rotated or invalidated quickly.
In PigeonPod:
- log in
- open User Settings
- open the cookies management area
- choose Upload / Update YouTube Cookies
- upload the exported
cookies.txt - save
After uploading the cookies:
- go back to a failed episode or target feed
- retry one download manually
- confirm whether the bot-check failure is gone
After uploading cookies, verify these checks:
- the cookies upload succeeds in the UI
- a previously failing YouTube download can now complete
- the same feed no longer fails immediately with the bot-check error
If downloads still fail, do not assume cookies are working just because the upload succeeded. Always validate with a real retry.
Check:
- the file is a real
cookies.txtexport - the export was done from a private/incognito session
- the YouTube account can still access the target content in a browser
- the file was uploaded to the correct PigeonPod instance
Possible causes:
- the cookies expired
- the browser session was reused
- YouTube rotated or invalidated the session
Fix:
- export a new file and upload it again
No.
Using account cookies adds risk and maintenance overhead. Only use them when normal public access is not enough.
- using account cookies can lead to temporary or permanent account restrictions
- use them only when necessary
- consider using a throwaway account
- never share your exported cookie file
Repository · Releases · Issues · Discussions
Security note: Do not expose an auth-disabled PigeonPod instance directly to the public Internet.