Live data from Hacker News

YouTube-dl can no longer download age-restricted videos

github.com

11–20 of 463 posts

Re: YouTube-dl can no longer download age-restricted videos

#12

But https://github.com/yt-dlp/yt-dlp (fork of youtube-dl) can, so it shouldn't be a problem forever for youtube-dl either?

I don't see a mention of yt-dlp in the yt-dl issue tracker, so why is this? Does dlp autocorrect videos to the youtube-nocookie.com embed (as stated https://news.ycombinator.com/item?id=27354423) ?

Re: YouTube-dl can no longer download age-restricted videos

#13
post #9
post #7

I had this issue recently. The workaround was to use the embedded video link, e.g.: youtube-dl https://www.youtube-nocookie.com/embed/VIDEO_ID_HERE Edit: It seems to have been patched. I can't seem to use this method anymore.

IME it depends on the video. I've encountered videos where the embed workaround didn't work, although I was using the youtube domain not the youtube-nocookie domain.

It seems they've plugged the workaround. I tried it again and it no longer works.

Re: YouTube-dl can no longer download age-restricted videos

#14
A few days ago, I clicked an age restricted video on Youtube and usually I just state that I am above 18 but now they ask for a credit card number or an identity card to prove it.

I am not going to send this just to watch some random video clip that users have declared not appropriate to a young audience because it features a zombie. Seriously!

Re: YouTube-dl can no longer download age-restricted videos

#15
post #4
post #3

It can't download the video in the same sense that I can't expect to point YouTube-dl at a Netflix URL and have it download that. You need to login.

Login alone does not help for age restricted videos. First step towards automatically stop using youtube. It their choice really.

You believe an appreciable number of people will stop using Youtube over this?

Re: YouTube-dl can no longer download age-restricted videos

#16

But https://github.com/yt-dlp/yt-dlp (fork of youtube-dl) can, so it shouldn't be a problem forever for youtube-dl either?

yt-dlp actually does have the same issue (at least when connecting from the US):

./yt-dlp.sh "https://www.youtube.com/watch?v=rR8s72aouNE"

[youtube] rR8s72aouNE: Downloading webpage

[youtube] rR8s72aouNE: Refetching age-gated info webpage

ERROR: Sign in to confirm your age

This video may be inappropriate for some users.

Re: YouTube-dl can no longer download age-restricted videos

#17
post #9
post #7

I had this issue recently. The workaround was to use the embedded video link, e.g.: youtube-dl https://www.youtube-nocookie.com/embed/VIDEO_ID_HERE Edit: It seems to have been patched. I can't seem to use this method anymore.

IME it depends on the video. I've encountered videos where the embed workaround didn't work, although I was using the youtube domain not the youtube-nocookie domain.

I am not sure if it's the video itself or if we as 'anonymous' users keep getting in and out of regional a/b testing at youtube.

As an anonymous user I keep seeing different behaviours with both 'forcing' embeddded links and also normal mobile links with latest ublock origin. (On Android with FF + ublock)

Re: YouTube-dl can no longer download age-restricted videos

#20
post #11

From the thread, this appears to only apply to EU egress IP addressess, and you can pass in the session cookie of an account which has completed age verification.

>From the thread, this appears to only apply to EU egress IP addressess

I tried with several north american VPN nodes and it's blocked as well.

Post reply on HN