New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
YouTube: Age restricted video not downloading? #8583
Comments
If the creator has disabled embedding of the video, yt-dlp's built-in age-gate bypass method will not work. That's likely what is going with the OP's video. Your options are either to pass cookies or try this plugin |
I had a similar experience an hour ago. In mine, permission to access Google Chrome 'Cookies' file was denied which caused the error. |
Thanks for the info. Ended up using Firefox with the commandline. Worked. |
Aha. That sounds like what is happening.
Passing cookies means that one need a Youtube login, which I don't have. Will look into the plugin thou. :-) |
@solbu if it helps, yt-dlp can download age-gated videos with any account, as long as you set your birthday to be 18+ years old. In other words, yt-dlp can bypass the id requirement and hence allow you to download age-gated videos from a throwaway account |
But I need some sort of YouTube account to do this, yes? I really am «allergic» to logging in to any video service for any reason. |
Closing as there is nothing else we can do to help |
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
Checklist
Region
Norway
Provide a description that is worded well enough to be understood
The YouTube age restriction bypass that yt-dlp has, stopped working some 2 weeks ago.
It used to just download age restricted videos, where you need to login to verify your age. Now it exit with an Error saying the video is age restricted.
I just upgraded to the latest version 2023.11.14, which was released some 30 minutes ago.
I am one of the packagers at the Mageia linux distro, so I maintain my own local RPM repo with updated yt-dlp packages. Meaning I always run the latest stable yt-dlp version.
I was waiting for the new version to release to see if it would be fixed.
And the 2023.11.14 which landed 30 minutes ago did not fix it, which means no one have reported it.
If they have, I can't find it in the bugtracker.
If you need a video to test on, here is a youtube video ID: «RBPk185Hd0A»
[solbu@solbu-1 ~/tmp/del]$ rpm -q yt-dlp
yt-dlp-2023.11.14-0.solbu8
[solbu@solbu-1 ~/tmp/del]$ yt-dlp --version
2023.11.14
Provide verbose output that clearly demonstrates the problem
yt-dlp -vU <your command line>
)'verbose': True
toYoutubeDL
params instead[debug] Command-line config
) and insert it belowComplete Verbose Output
The text was updated successfully, but these errors were encountered: