ytarchive
ytarchive copied to clipboard
Bypass age-restriction
youtube-dl can bypass it so maybe you could add it to the script
since you have to actually verify your age if you live in the eu this bypass doesnt work https://support.google.com/youtube/answer/10070779#zippy=%2Cif-youre-in-the-european-union-eu-european-economic-area-eea-switzerland-or-united-kingdom
i use this tempermonkey script to get around that https://github.com/zerodytrash/Simple-YouTube-Age-Restriction-Bypass it looks well documented to me maybe you can understand how it works
IMAGINE living in the EU.
Looks like the userscript attempts to get around it by changing up params on get_video_info. That explains why streamlink tries three different param sets on it. I can do that too, but given the current state of things with get_video_info breaking, it might not actually help much.
Some mad lad might have figured out a fix for get_video_info URLs by adding another param to it. How often are age-restricted streams an issue? Might not put the full set of parameter combinations in until I get the golang rewrite running if it's almost never an issue.
How often are age-restricted streams an issue? Might not put the full set of parameter combinations in until I get the golang rewrite running if it's almost never an issue.
its not that urgent you can add it after the rewrite
Just to ask, but have you run into any age-restricted streams as of yet, or was this more of a preemptive request? With youtube trying to lock down usage of get_video_info more and more, it might not become viable to keep using it. I've removed it's usage for the time being but I'll re-work it if you've actually had an issue with livestreams and not just VODs.
Just to ask, but have you run into any age-restricted streams as of yet, or was this more of a preemptive request?
no i made this issue for someone else that has run into age-restricted streams and could not record them because of that
if you are not from the eu you just need to click a "I understand and wish to proceed" button it would probably be a better solution to just let ytarchive simulate clicking it
The way it's made right now, that's not really an option, so I'll keep the original plan of looking into it when I ~~never~~ finish the Golang rewrite.
@Kethsar would it be possible to add this now that the golang rewrite is done? the script seems to have been updated aswell https://github.com/zerodytrash/Simple-YouTube-Age-Restriction-Bypass
Yeah, next time I get the urge to do more than a small bit of programming, I'll probably work my way through some of the tickets finally.