YouTube-dl can no longer download age-restricted videos
github.com
github.com
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!
At this point the best advice you can give your friends is "stay the fuck away from computers unless you're willing to sit down and read a bunch of FOSSS manuals."
This and apps “redesigned” every few month, breaking the workflow they've struggled to learn (they usually needed to follow the hand-written note, they had taken when I showed them how to do).
They've used it a bit more than a year, with occasional breakage, and they now have stopped completely.
This is why my 90++ old completely non-technical mother has been using Linux since the 90s. I set up a very customized fvwm environment with mutt (also customized) and emacs (same) and helped her learn it. The beauty is that nothing has changed at all in over 25 years!
Edit: Looks like it might be an EU thing?
On major mobile networks in the UK, SIM cards/data plans by default have an adult content internet filter enabled. Blocks stuff like pornography (obviously) and even some other various adult age-focused content like gaming websites. (I've seen the EA Battlefield/Call Of Duty websites blocked before)
Usually if you try to access, say, pornhub.com, it'll redirect (ala. WiFi captive portal style) to an internal network page and you have to enter a credit card to disable it on your account. A debit/bank card won't work. I'm over 18 now but at the time I came across this (also over 18) I didn't have a credit card but I ended up bypassing this with a Curve (Fintech 1->many card thing) card which seems to identify as a credit card on the network's system.
Alternatively, if you don't mind never seeing the assistant again (jk.), you can go into one of the network's shops and ask the assistant to turn it off by providing some ID like a passport/driving licence.
Although the questions were a lot harder back in 1991 when the Internet was not at your disposal.
On another, Google already has a lot of peoples' credit card numbers by way of Google Pay. Does this expose those people to any more risk?
We were previously told that it was advisable to use YouTube under an alias, and that other personal information such as phone numbers would be used only for account verification.
Those policies were rescinded or proved to be lies.
Google have no credibility here.
Actually wouldn't be surprised if the newly acquired CC number appeared right away as a new means of payment in Google Play.
Just give them a virtual number and then disable it right after registering. Then have your free trial, and only if you decide to actually subscribe, change it to a credit card number that is active.
Businesses should not be unscrupulously trying to make money off people who forgot about the product during their free trial.
I hate both, but this is purely a function of terrible regulations
An alternative would be entering your passport or something which would be even crazier
Google is the only company that started to implement this. To me it's not required by law but they decided to do so to get more user data. Also because having a credit card doesn't confirm nothing about your age. I use a credit card to buy things online since I'm 13, you can have a credit card even if you are not 18, simply your parents need to sign for it, but then it can have your name on it.
How do they know it's false? And if they know it's false why do they ask for it, they already have the right one.
Take this as an example. The AVMSD isn't new, it was codified in 2010. It has a website[1], and on that website you can read the rules (they even simplified them for us). The rules about minors are pretty relaxed[2]. For non-linear content (such as on-demand video) the law requires that content which "might seriously impair the physical, mental or moral development of minors" wont "normally" be seen/heard by kids. Nowhere does it say that YouTube has to require a National ID to show a video of a zombie. It's all interpretation, because that's how we do laws.
It's true that YouTube said that it's "in line with AVMSD"[3], but it's a lazy excuse to shove in a feature.
[1]: https://ec.europa.eu/archives/information_society/avpolicy/r... [2]: https://ec.europa.eu/archives/information_society/avpolicy/r... [3]: https://blog.youtube/news-and-events/using-technology-more-c...
You know, if you were going to rant about people not reading things, you probably should have first validated your own assumptions. AVMSD was just updated ( https://digital-strategy.ec.europa.eu/en/policies/revision-a... ) which just recently went into effect. The updated law requires online video platforms to age gate content for children. How, exactly, do you propose they do that with an implementation that doesn't suck?
This is kind of an excuse though, because I have never seen an implementation of an age gate online that isn't kind of awful. You either make something that is trivial for kids to bypass, or you make something that is invasive, like Youtube's system.
So we get these laws that say, "solve the problem", and there isn't a way to solve the problem. But criticism of the law or criticism of the law's outcomes aren't allowed because the law doesn't technically require that your solution to be terrible. It just asks you to do something that's impossible to do well without violating someone's privacy.
In the US (at least for a while) this was solved by pretending that self-reported ages are an effective way to protect kids. And we pretended that would at least reduce exposure to this kind of content, even though in practice it has basically no impact at all. But if the law doesn't care about effectiveness, then why have the law in the first place? So we raise the standards a bit so that the law has some teeth. But again, nobody has ever in any context demonstrated a working age gate to me online that doesn't involve violating someone's privacy or collecting identifying information about them like a credit card or ID.
So it doesn't actually matter whether or not the law says the solution has to be terrible. The only outcomes that are possible from these laws are either ineffective solutions or invasive solutions. If there is only one method to accomplish an outcome, then requiring the outcome is effectively the same as requiring the method.
[0] https://digital-strategy.ec.europa.eu/en/policies/revision-a...
[1] https://www.obs.coe.int/en/web/observatoire/avmsd-tracking
At that point in order to ensure that such content isn't shown to minors you have to require a credit card or an ID because any reasonably kid would figure out how to set his or her age to a reasonable age of majority to avoid being pigeonholed into kid stuff.
Can you give me an example of an alternative strategy that would be legal and more reasonable?
When the law is "you have to verify a meatspace user's age before showing them content that could arbitrarily be considered 'adult' by some group of lawmakers who most likely have different and more puritan values than you," yes, it does require your implementation to suck, because that law sucks by definition.
I'm glad YouTube implemented it this way, so that the pain of shitty laws can be felt instead of being allowed to proceed. Maybe people will actually try to push back against overzealous Internet regulation at some point.
All this is either EU lifers keeping themselves busy to justify their existence to themselves, MEPs wanting something to grandstand on, or something equally vapid. A much better approach would have been to keep the age prompt and leave the rest up to the parents, ie, to do nothing.
I mean... maybe. I have young children and have no desire to have them anywhere near YouTube for essentially as long as possible _because_ of that very concern.
I mean, I hate this age validation as much as everyone else, curbing advertising to impressionable kids doesn't sound too stupid to me...
Related, I can’t install my telco’s app because it’s region-locked to Australia and Google Play Store seems to think I’m in the USA—never mind that my account was created in Australia over fifteen years ago and it’s only been to America twice for a total of less than three months, and that my phone was bought in Australia and set up in Australia, as was my first phone. Seems like a case of an absurd and harmful default. Anyway, the only way to convince them I’m in Australia is to add a billing method. Nope. I’m not giving them billing details. (Now if only the telco would unlock it, as their support staff said they were working on, never mind that the whole process takes less than five minutes and I gave them the help page over a month ago. Or better still, if the telco would just provide a web interface like literally everyone else does, rather than just Apple and Google Android apps. Sigh. If only they weren’t the cheapest for my needs by a large margin.)
Also related to the whole age thing, I just started the Google Settings app half an hour ago for other reasons and it triggered a notification asking me to enter my birthday “to help us comply with the law”, expressed even more strongly on the page the notification takes you to as “Your date of birth is missing. This info is needed to comply with the law.”, with a “learn more about why Google asks for this info” link to https://support.google.com/accounts/answer/1733224?hl=en-GB, where the only sort of thing that they could conceivably be referring to as a legal compliance matter would be the minimum age of 13, and… I’ve been using that account for longer than that anyway.
I'm not sure why exactly that has an age restriction, or why I'd give Google some ID to watch a vintage Youtube meme. I presume it's because their ML detected 'fuck' in the audio.
Note to Google: Ah fuck, I can't believe you've done this.
Now I'm shopping for some storage to keep seventeen years of emails etc. so I can do a quick Takeout so that I don't lose access to all my data when I inevitably get unfriended and blocked by them for not being sufficiently compliant.
This, the 2/3 ads being forced down me which are of no interest at all and the constant upselling of YouTube music and the recent shoot down of ad blockers on the desktop browser front really makes it a hostile place to be a consumer of media. I have experimentally uninstalled the YT app off my phone and not used the web site and I haven’t missed it a bit.
Mobile browsers have been affected as well. uBlock Origin on Firefox for Android has been letting the ads through recently. Fortunately, NewPipe exists, but it depends on youtube-dl so, while it remains free of ads, it's also affected by this change surrounding age-restricted content.
Hopefully people start moving somewhere else within the next few years, maybe PeerTube. Admittedly, YouTube's network effects are disgustingly strong. I wonder what it would take to break them.
The only real solution is to move out of the walled garden alltogether. Peertube, anyone?
I deleted the app and now use Brave for YouTube watching on iOS. Clears most ads, and allows background playback if you full screen the video first.
They found out when they found a nintendo portable full of games in his closet.
He was about 12.
I mean, I get it, but it still feels ridiculous.
I got hit with it too. I even have a youtube premium subscription - they already have my card on file.
Google is so incredibly evil.
With all the privacy-invading data google and youtube collect on me, surely they know that I'm old enough to watch whatever I like on youtube. But there's no way I am using either of the available methods to verify my age. I'd rather just not watch stuff on youtube.
I got the same thing and it left a bad taste in my mouth -- it felt to me that it was just Google's excuse to hoover up more information about me.
No, Google, I am not going to give you my credit card of government issued ID.
Edit: especially since it's US age ratings which have no connection to EU age ratings. I ran into it while trying to view some collection of every time Samuel L Jackson says "motherfucker" in a movie. For example Pulp Fiction - which is one of the movies - is rated 18 in the US but ... 12 to 16 in various EU countries?
(I have no credit card. I approach 6 decades in age.)
Plus this gives them your identity, which is relevant because their business model nowadays is based around tracking people.
But I guess, google still wants to make the check passable.
Its a poor product naming with google. I'd imagine that's going to make for some consternation.
EU citizens needs to convince their government(s) that these age restrictions are not acceptable or live with the status quo.
get the extension, export the cookies.txt file to a folder, then run youtube-dl in that folder with:
youtube-dl --cookies cookies.txt https://youtu.be/id
it works as of right this minute [1] and in my experience that cookie continues to work even if you log out of your account in the browser and log back in etc
i'm trying to imagine a way to have a more permanent solution, maybe if youtube-dl provided some kind of login prompt type thing to enter some your credentials to virtually log in, although i imagine that would start to be another cat and mouse game of it working and then not working.
[0] https://chrome.google.com/webstore/detail/get-cookiestxt/bga...
And by the way, I always mostly used random birth dates whenever registering anywhere because I consider that personal information and don't want to share it. I don't even know what birth date did I set when I got my GMail back in the days it required invitations.
I don't feel like watching an age-restricted video ever again if this actually requires identification and leaves no workaround.
UPDATE: I'm actually surprised this gets down-voted.
Yes, and I want a pony. We can absolutely discuss how useful or harmful age verification on the internet is, (and your points about tracking are certainly valid) - but fact is that Google implemented it.
It is not youtube-dl's job to circumvent that. Their responsibility is letting me download the videos to my hard drive that I can already view in my browser. They never advertised themselves as a tool to circumvent access restrictions.
If the new age verification broke youtube-dl in such a way that you couldn't download the video at all, I think the outrage would be justified - but that isn't the case.
I know I've had google accounts that didn't require any re authentication in the way of phone numbers for going on years so you can likely discard the number after you show you are human.
I guess this means I watch less YouTube, which is probably better for me in the long run. But like hell I'm signing in.
The church finally has a solution to their clergy loss. ;)
You are being downvoted to suppress your well thought out information. It would be nice if HN had a public ledger of who up or down voted a post. You would click on the post and could see which usernames voted and which way. It would bring much needed transparency to combat these information suppression abuses.
"I think the site should publicly post a list of users who upvoted and downvoted comments that I feel were wrongly suppressed."
I had to read your comment multiple times to determine whether it was intended to be sarcastic or not.
cookie: CONSENT=YES+cb.20210328-17-p0.en+FX+203Nothing Google does will make me want to create an account.
Honest question: Should logging out invalidate the cookie for future use. If one of these cookies falls into the wrong hands it grants "evergreen" access to the account. No password needed. I have noticed this behaviour with both Gmail and Facebook. These evergreen cookies makes it very easy to check FB and mail using shell scripts without logging in, which is nice, but it seems like it should be a security issue.
Yes. The act of logging out implies that you want the session terminated.
Doesn't that only work if you a) are in the EU and have verified your age or b) outside the EU?
https://github.com/ytdl-org/youtube-dl#authentication-option...
But as of a couple days ago it wasn’t working for age-restricted videos.
This is one of the reasons I started using youtube-dl. I wanted to create an independent backup of all my favorite creators and contributors in the event that they have to leave or delete their channels.
This content should belong to everyone. I wish I could trust that all my favorite videos will be there forever, but this is just not the case. Removing the comments on music videos already hurt a lot.
This has both good and bad sides to it. On the good side, it means people can make money as YouTube creators. This subsidizes the enormous volume of content that makes the creators no money.
On the bad side, you have a SPOF, and those failure modes can be many and varied. In this case its unwarranted age restrictions, but more usually its fraudulent DMCA take downs, various algorithmic shenanigans, and of course censorship (which can be good or bad, actually).
But you can't have one property (value producing artificial scarcity) without the other (a central point of failure).
The real question is: can content creators host their own content such that they can derive value from it? Will users consume that content, and pay for it, somehow? Theoretically it's possible, but the technical barriers are quite high. YT has capitalized on massive economies of scale to reduce the technical barriers to hosting and monetizing content to zero. This same pattern is repeated again and again: connect computer to the internet, then specialize that computer's software to do one thing really well, attract users/makers, use your control of the platform to extract value from users (inject ads, membership fees, data brokers, etc), profit. The hope is that the value to society outweighs the cost, and honestly I think that's actually the case! I just hope more people get clear-eyed about the trade-offs for-profit internet services make to be viable.
Patronage or crowdfunding can work even if the content is released publically.
I don’t want to visit independent creators’ websites to find their content - all with different UIs, etc. YouTube gives me a clean, centralized way to access content where I know I will be able to stream 4K and view content offline. This feels massively more convenient to me than having to maintain a catalog of offline videos…
While I think we all agree that centralization of control isn’t great, the consumer gets tremendous value from centralization and this value doesn’t get talked about enough.
Finally your assertion of “this content should belong to everyone” is idealistic. Who is going to pay to store and stream this content? What about the copyright of the actual content creators?
I think one of the deeper critiques you and several others have made is that someone still has to pay for storage and streaming. Today I am paying. I bought the additional hard disk to store this on. In addition to my time and effort to collect the files. In the future I would pay some amount each month to stream what I have if it gave me access to everyone else's (essentially staking my video files).
I don't mind paying for a good peer-to-peer service. In fact I feel that I am losing a lot more by staying with a legacy system. Hence backing up the videos I like even though I have no method of distributing them.
Let me introduce you to the concept of RSS and news/feed readers: https://aboutfeeds.com/
That’s ironic because YouTube beat Viacom in 2013 because “this content should belong to everyone” not us so you can’t sue YouTube go sue the users.
You should consider using PeerTube instead, which is federated.
Soon after they'll turn it on for all videos, making it nearly impossible for normal people to save any videos and making it illegal to do so in the US.
If there's anything you care about seeing in the future, proactively download it now at the highest quality while it's still possible to do so.
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.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)
youtube-dl can no longer be used to bypass youtube's age verification checks
... assuming that you have provided YouTube with a scan of your ID card to prove that you are 18+ ...
I expect that at some point you'll have to prove your identity to use youtube at all, because its in Google's interest to know as much as possible about its users.
Youtube will also probably turn in to a pay-to-view service at some point. They already dominate the video space, and their network effects are enormous, and a huge number of people will pay to continue to get access to that.
Such requirements are being driven by governments who don't care at all about user convenience, only extending their control over people whilst blaming the private sector for "making" them do it.
I don't have a problem with Google providing parental controls, if I as the parent am in control. But Google have unilaterally decided that for us. Never buying any media from Google (or any other large tech company again). Reverting to second hand DVDs and putting them on Plex.
Actually I'd be very, very surprised if this was even in the jurisdiction of the EU.
So I gather you don't have any source either then.
As far as 'views', in reality the vast majority of Youtube channels also get very few views. You can advertise/promote the Peertube instance just like you would promote a Youtube channel.
Another alternative is to just have Peertube mirror your YouTube channel and link to the instance in every video.
It really depends on the type of content you produce and how your content is 'discovered' but unless you are on the winning side of the Youtube algorithm, peertube isn't that worse.
given enough time and sufficient numbers of toddlers chewing on keyboards one of them will out of chance alone create a google account
I assumed it was a legal requirement, and basic intuition and common sense aren't relevant. Much like the immigration form that says "Are you a terrorist".
The video quality will default to "Auto-1080p" or similar but it will be visibly much worse than 1080p quality. Switching to 1080p manually seems to be the only way to get good quality.
I strongly suspect that at least part of the reason for these is to discourage people from using Google's properties with browsers other than Chrome (whether it was the reason for creating them, or just noted as a benefit for refusing to fix them once they were identified).
I'm not sure how that isn't soundcloud/spotify.
Not sure how it is implemented. It seems to just identify and catalog all of the videos uploaded to normal YouTube where the audio track consists of a single continuous musical track. It's not official music videos.
./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.
EDIT: From an EU ip.
youtube-dl https://www.youtube.com/watch?v=oY4Gz_Axpew [youtube] oY4Gz_Axpew: Downloading webpage [youtube] oY4Gz_Axpew: Refetching age-gated info webpage WARNING: unable to download video info webpage: HTTP Error 404: Not Found Traceback (most recent call last): File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/usr/local/bin/youtube-dl/__main__.py", line 19, in <module> File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 475, in main File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 465, in _real_main File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2069, in download File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 808, in extract_info File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1502, in _real_extract File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2644, in compat_parse_qs File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2614, in _parse_qsl AttributeError: 'bool' object has no attribute 'split'
very interesting
Also, yt-dl doesn't like yt-dlp to be mentioned on their issue tracker from what I hear.
ID is out of the question, credit card seems more plausible. However, i wonder what happens when you give the number. I don't want that it sticks after validation...
Both viewers and producers are heavily dissatisfied with Youtube. Time to move on.
YouTube actually allowing adult videos is not something to diss. The fact that they need age verification is the price for it, the alternative is removing all those videos.
>Important: If you enter your credit card info for age verification, Google will retain this data as necessary to meet legal and regulatory requirements.
Must be because of audit laws relating to processing credit cards.
https://support.google.com/accounts/answer/10071085?p=age-ve...
Getting a legit card like that could be possible, but I don't think its worth of hassle and possible costs. Some companies practically throw these cards on you, but usually there is a catch.
What's the behaviour on Invidious instances presently?
For example I've worked in medical devices, I had to watch a lot of different types of surgical procedures for a specific application.
A lot of surgical content gets tagged as 'adult' even though it has nothing inappropriate as such.
Sadly, the authors need to do this preemptively to avoid getting flagged and potentially taken down.
Needless to say, I was using ytdl to bypass the limit, and I won't be able to watch these videos anymore. I'm not going to log in or give my ID to google.
https://chrome.google.com/webstore/detail/get-cookiestxt/bga...
This is the command I have used: ./youtube-dl -f best -a test.txt --cookies ./youtube.com.cookies
-a test.txt - i had a bunch of URL in text file.
0: https://github.com/zerodytrash/Simple-YouTube-Age-Restrictio...
F-droid and Aurora (oss google play store client) have most of the apps you'd need, and most work well enough w/o google play services.
actual rendered title == [YouTube] Age verification issues - Can't download video. #28578]
apparently this issue was closed
>> Suika commented Mar 29, 2021:
You are probably connecting from EU, right?
A change to YT was announced ~4 month that there will be extra steps for age verification in EU, iirc.
If you connect from outside of EU, it should work.<<
Under account settings, it only lets you opt out of publishing your birthday to your contacts. There’s no opt out for marketing / sharing it with their business partners, etc.
Scumbags.
I feel like these platforms like YouTube are an addiction. We know they have problems but we just can't shake them. I felt this way about Windows and Microsoft on general 15 years ago. I went cold turkey and stopped using those products back then and I've been very happy ever since. But things have become too easy and I've become complacent. I think it may be time for me to shake another addiction.
It was accepted automatically within a few seconds. Can't really complain.
I tried with several north american VPN nodes and it's blocked as well.
This means that any consumer of Youtube should expect that eventually Youtube may stop working for them -- and perhaps all the content they love on Youtube will eventually become unavailable.
can't remember which
https://github.com/ytdl-org/youtube-dl/issues/28578#issuecom...
https://github.com/ytdl-org/youtube-dl/issues/28578#issuecom...
> it's not about the issue not related to the US, it's that youtube won't allow access to the video when you're accessing a non-embedable age-restricted video from the EU with passing the new age verification requirement, youtube-dl can't simply bypass this condition.
>> I just connected to a US server using VPN, and this is the report i got:
> you didn't pass the cookies.
and fosam amplified[2]:
> If you connect from the EU and have not verified, there is no way without the VPN. If you have already verified your account you can just pass the cookies and download.
[1] https://github.com/ytdl-org/youtube-dl/issues/28578#issuecom...
[2] https://github.com/ytdl-org/youtube-dl/issues/28578#issuecom...
First step towards automatically stop using youtube. It their choice really.
It doesn't work.