[YouTube] Unable to download age-restricted video
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
Any region.
Description
The following age-restricted video cannot be downloaded: EuQLMXyGQOE. Cookies are provided for Firefox. I am properly logged into my YT account in Firefox and can play the video. It was working few days ago, but stopped working today.
Verbose log
[debug] Command-line config: ['-vU', '--no-cache-dir', '--ffmpeg-location', 'C:/Other/ffmpeg.exe', '--retries', 'infinite', '--fragment-retries', 'infinite', '--cookies', 'firefox', 'https://www.youtube.com/watch?v=EuQLMXyGQOE']
[debug] Encodings: locale cp65001, fs utf-8, out utf-8, err utf-8, pref cp65001
[debug] yt-dlp version 2022.03.08.1 [c0c2c57] (win_exe)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.19043-SP0
[debug] exe versions: ffmpeg 4.4-full_build (setts), ffprobe 4.4-full_build
[debug] Optional libraries: brotli, Cryptodome, 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://www.youtube.com/watch?v=EuQLMXyGQOE
[youtube] EuQLMXyGQOE: Downloading webpage
[youtube] EuQLMXyGQOE: Downloading android player API JSON
[youtube] EuQLMXyGQOE: Downloading android agegate player API JSON
[youtube] EuQLMXyGQOE: Downloading web agegate player API JSON
ERROR: [youtube] EuQLMXyGQOE: Sign in to confirm your age. This video may be inappropriate for some users.
File "yt_dlp\extractor\common.py", line 617, in extract
File "yt_dlp\extractor\youtube.py", line 3339, in _real_extract
File "yt_dlp\extractor\common.py", line 1126, in raise_no_formats
Issue Analytics
- State:
- Created a year ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
How to watch/download an age-restricted video on YouTube
Go to the settings of YouTube application and turn off the age restriction option, after that you can see age restriction after videos....
Read more >3 100% Working Ways to Download Age Restricted YouTube ...
Age -restricted YouTube Downloading Guide · Step 1. Sign in · Step 2. Copy URL · Step 3. Paste URL · Step 4....
Read more >So there is no way to download youtube vids with age ... - Reddit
If you have an account where the age says you're older than the restriction, pass the session cookie to youtube-dl in the command....
Read more >5 Ways to Download YouTube Age-Restricted Videos in 2022
For downloading age-restricted videos, you should toggle on the Private Mode option and then input your email and password for YouTube. Then ...
Read more >How to Download YouTube Age Restricted Video on PC & Mac
Simple Way to Save Age Restricted Videos from YouTube · Step 1. Log in your account on Google Chrome browser · Step 2....
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
Ah okay, makes sense
You have mistaken cookies-related option. You have to use
--cookies-from-browser firefox
to extract cookies.