Unable to watch age restricted videos.
See original GitHub issueI have only downloaded youtube-dl.exe which I use together with mpv sometimes to watch youtube videos. The thing is that when I try to watch an age restricted video, I get this response:
C:\Users\user>mpv https://www.youtube.com/watch?v=9roObG3yq-8
[ytdl_hook] ERROR: Sign in to confirm your age
[ytdl_hook] This video may be inappropriate for some users.
[ytdl_hook] youtube-dl failed: unexpected error occurred
Failed to recognize file format.
Exiting... (Errors when loading file)
I’ve seen some people suggest cookies… But would there be a point in adding cookies if the age restriction system needs an irl identity just to let you watch the vid?
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:10 (1 by maintainers)
Top Results From Across the Web
I cant watch age restricted content even though ... - Google Help
Few things. You need to be signed into a YouTube account tied to a Google account with an age listed as 18 or...
Read more >Can't Watch a YouTube Video Due to YouTube Age Restriction?
You can now bypass YouTube age restriction and watch any NSFW YouTube video. Restricted Mode on YouTube is bound to each device, so...
Read more >How to Turn Off Age Restriction on Youtube and Unblock Videos
Disable Safety Mode · Go to the YouTube homepage and click your profile icon at the top of the screen. · Go to...
Read more >Google, what have you done. Can't watch age restricted ...
Can't watch age restricted videos on youtube anymore. ... Ended Up just downloading every YouTube video and watching it offline, ...
Read more >How to Bypass YouTube Age Restriction - Alphr
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 >
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
extract a cookie from your chrome or firefox as mentioned below; https://github.com/blackjack4494/yt-dlc/issues/7#issuecomment-716038621
and use the --cookies argument, works for me
I’ve moved on to use the (in my opinion) more active youtube-dl fork, yt-dlp.
With yt-dlp installed, this works for me (force-seekable allows you to skip around the video):