YouTube age restriction
See original GitHub issueChecklist
- I’m reporting a broken site support issue
- I’ve checked that all provided URLs are alive and playable in a browser
- I’ve verified that I’m running youtube-dl version 2021.06.06
- I’ve checked that all URLs and arguments with special characters are properly quoted or escaped
- I’ve searched the bugtracker for similar bug reports including closed ones
- I’ve read bugs section in FAQ
Verbose log
$ youtube-dl -v https://www.youtube.com/watch?v=irauhITDrsE
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=irauhITDrsE']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.06.06
[debug] Python version 3.8.10 (CPython) - Linux-5.4.0-77-generic-x86_64-with-glibc2.29
[debug] exe versions: ffmpeg 4.2.4, ffprobe 4.2.4, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] irauhITDrsE: Downloading webpage
[youtube] irauhITDrsE: Refetching age-gated info webpage
WARNING: unable to download video info webpage: HTTP Error 404: Not Found
ERROR: Sign in to confirm your age
This video may be inappropriate for some users.
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
return func(self, *args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
ie_result = ie.extract(url)
File "/usr/local/lib/python3.8/dist-packages/youtube_dl/extractor/common.py", line 534, in extract
ie_result = self._real_extract(url)
File "/usr/local/lib/python3.8/dist-packages/youtube_dl/extractor/youtube.py", line 1713, in _real_extract
raise ExtractorError(reason, expected=True)
youtube_dl.utils.ExtractorError: Sign in to confirm your age
This video may be inappropriate for some users.
Description
When I try to download age restricted videos it, tells me to sign in to a verified account, which I don’t have. An option to bypass this shit without a slow vpn or proxy would be great. I’m really sure there is a way of doing this, for example FreeTube can play all restricted videos without problems.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:17
- Comments:13 (4 by maintainers)
Top Results From Across the Web
Age-restricted content - YouTube Help
Age -restricted videos are not viewable to users who are under 18 years of age or signed out. Also, age-restricted videos cannot be...
Read more >How to Turn Off Age Restriction on Youtube and Unblock ...
Although creators' content might not violate the YouTube policies, it can be inappropriate for viewers under 18. In these cases, YouTube places ...
Read more >How to Bypass YouTube Age Restriction
1. Open the YouTube app on your iPhone. 2. Check to make sure you're logged into your account. You should see your account...
Read more >How to Turn Off Age Restriction on YouTube
Go to the bottom of the drop-down menu. The last item is “Restricted Mode: On.” Click the box and select the “Restricted Mode:...
Read more >Age Restriction Bypass for YouTube - Firefox Browser Add-ons
Download Age Restriction Bypass for YouTube™ for Firefox. Extension to bypass YouTube's age verification and watch age restricted videos ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Just download the whole repo and run
python youtube_dl/__main__.py
with your flags/params like you did with a release one.New tier 2 age-gate bypass using the new API (no auth required!): https://github.com/yt-dlp/yt-dlp/issues/574#issuecomment-887171136