YT age restriction bypass broke
See original GitHub issueChecklist
- I’m reporting a broken site
- I’ve verified that I’m running yt-dlp version 2022.03.08.1. (update instructions)
- I’ve checked that all provided URLs are alive and playable in a browser
- I’ve checked that all URLs and arguments with special characters are properly quoted or escaped
- I’ve searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
- I’ve read the guidelines for opening an issue
- I’ve read about sharing account credentials and I’m willing to share it if required
Region
No response
Description
Yt-dlp age restriction bypass doesn’t seem to work anymore, I tested with multiple videos and they are all broken (one of the videos is playable on invidious 2022.03.15-5b82370b
(https://invidious.snopyta.org)).
This might be a duplicate of #2923
https://youtube.com/watch?v=CUO8secmc0g https://youtube.com/watch?v=dIZ-e4WwJ5w
Verbose log
[debug] Command-line config: ['-vU', 'https://youtube.com/watch?v=CUO8secmc0g']
[debug] User config "/home/doggo/.config/yt-dlp/config": ['-f', 'bestvideo[height<=1080]+bestaudio/best']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8
[debug] yt-dlp version 2022.03.08.1 [c0c2c57d3]
[debug] Python version 3.10.2 (CPython 64bit) - Linux-5.16.15-arch1-1-x86_64-with-glibc2.35
[debug] exe versions: ffmpeg 5.0 (setts), ffprobe 5.0
[debug] Optional libraries: brotli, Crypto, mutagen, sqlite, websockets
[debug] Proxy map: {}
Latest version: 2022.03.08.1, Current version: 2022.03.08.1
yt-dlp is up to date (2022.03.08.1)
[debug] [youtube] Extracting URL: https://youtube.com/watch?v=CUO8secmc0g
[youtube] CUO8secmc0g: Downloading webpage
[youtube] CUO8secmc0g: Downloading android player API JSON
[youtube] CUO8secmc0g: Downloading android agegate player API JSON
[youtube] CUO8secmc0g: Downloading web agegate player API JSON
ERROR: [youtube] CUO8secmc0g: Sign in to confirm your age. This video may be inappropriate for some users.
File "/usr/lib/python3.10/site-packages/yt_dlp/extractor/common.py", line 617, in extract
ie_result = self._real_extract(url)
File "/usr/lib/python3.10/site-packages/yt_dlp/extractor/youtube.py", line 3339, in _real_extract
self.raise_no_formats(reason, expected=True)
File "/usr/lib/python3.10/site-packages/yt_dlp/extractor/common.py", line 1126, in raise_no_formats
raise ExtractorError(msg, expected=expected, video_id=video_id)
Issue Analytics
- State:
- Created a year ago
- Comments:14 (4 by maintainers)
Top Results From Across the Web
How do I bypass the new youtube age restriction block? - Reddit
it seems like youtube isnt forced to perform the age verification check, since they really hunt dont any possibility to bypass it. nearly...
Read more >Bypass Age Restrictions on YouTube Videos: 8 Simple Methods
1. The easiest method is to sign in with an adult Google account. Whether your YouTube account is under 18 or you just...
Read more >5 Ways to ByPass YouTube Age Restriction in 2022 - Chrunos
According to YouTube Community Guidelines, Age-restricted YouTube videos are not viewable to users who are under 18 years old or signed out.
Read more >How to bypass YouTube's age restriction without signing in
If you're looking to watch an age-restricted video on your PC or Mac, then FreeTube is the easiest software to use, and is...
Read more >Easy Ways to Bypass Youtube Age Restriction - Electronics Hub
In most cases, you will be able to watch the age-restricted content by simply logging into your Youtube account if you are older...
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
I dont get why google is so determined to prevent users to see age restricted content, and constantly making changes to api
Confirmed. Here in The Netherlands the second video downloaded with
--cookies-from-browser
.