Live data from Hacker News

Yt-dlp: Upcoming new requirements for YouTube downloads

github.com

571–580 of 635 posts

Re: Yt-dlp: Upcoming new requirements for YouTube downloads

#571
post #515

I started this fight with youtube back when it was called google video, because i wanted to watch content but my 28.8kbps modem didnt have the grunt todo it in one session. When i started getting 100,000's of downloads a day, google updated their html and blocked me from their search engine. I did the cat and mouse a few times but in the end it wasnt worth it. Glad to see the legacy still lives on :D https://gvdownlo…

Cool. But Youtube was never called google video. Youtube was acquired by Google and Google Videos was a separate site.

Re: Yt-dlp: Upcoming new requirements for YouTube downloads

#572
post #64
post #9

I’m a paying YouTube premium subscriber. Last weekend, I wanted to download something so I can watch it on my way in the train. The app got stuck at “waiting for download..” on my iPad. Same on iPhone. Restart did not work. I gave up after an hour (30 mins hands on trying stuff, 30 mins waiting for it to fix itself). Downloaded the video using yt-dlp, transferred it to my USB c flash drive, and watched it from that.…

I'm also a premium subscriber, and have struggled with the same issues on the iPad app. I try to keep some shows downloaded for my toddler, and the download feature never seems to work on the first try. I finally got so fed up, I bought a Samsung Galaxy Tab A7 off ebay for $50 and flashed it with LineageOS. I can now load whatever media I want onto the 1 TB sdcard I've installed in it. The 5 year old hardware plays v…

Premium subscriber here.

Download feature on iOS always works flawlessly whenever I need to hop on a long haul flight (several times a year).

Re: Yt-dlp: Upcoming new requirements for YouTube downloads

#573

Earlier quoted context omitted.

Tangential. The TIDAL app is absolute trash, it has this same issue all the time; not just that, but also, if a download fails it just hangs there and does not download the rest of the album/playlist. Also, why would you want to download things in the first place? To watch them offline, right? Well, guess what happens when you open the app w/o an internet connection ... it asks you to login, so you cannot even access…

When I try it for a month, the worst part.. your entire download queue fails forever unless you manually remove hundreds of items one by one There is no way to remove the stuck item if it's been pull from streaming library or you in country that -- such traveling etc -- does not have r ights to it. You simply cannot open the track to undownload it

Also tried Tidal once with their trial, tried playing some music videos and it was just straight up blurry throughout. Not once did the music video played HD.

Re: Yt-dlp: Upcoming new requirements for YouTube downloads

#574

Earlier quoted context omitted.

fortunately it is now easier than ever to do small-scale scraping, the kind yt-dlp does. I can literally just go write a script that uses headless firefox + mitmproxy in about an hour or two of fiddling, and as long as I then don't go try to run it from 100 VPS's and scrape their entire website in a huge blast, I can typically archive whatever content I actually care about. Basically no matter what protection mechani…

> fortunately it is now easier than ever to do small-scale scraping, the kind yt-dlp does. this is absolutely not the case. I've been web scraping since 00s and you could just curl any html or selenium the browser for simple automation but now it's incredibly complex and expensive even with modern tools like playwright and all of the monthly "undetectable" flavors of it. Headless browsers are laughably easy to detect…

[deleted]

Re: Yt-dlp: Upcoming new requirements for YouTube downloads

#575

Earlier quoted context omitted.

fortunately it is now easier than ever to do small-scale scraping, the kind yt-dlp does. I can literally just go write a script that uses headless firefox + mitmproxy in about an hour or two of fiddling, and as long as I then don't go try to run it from 100 VPS's and scrape their entire website in a huge blast, I can typically archive whatever content I actually care about. Basically no matter what protection mechani…

> fortunately it is now easier than ever to do small-scale scraping, the kind yt-dlp does. this is absolutely not the case. I've been web scraping since 00s and you could just curl any html or selenium the browser for simple automation but now it's incredibly complex and expensive even with modern tools like playwright and all of the monthly "undetectable" flavors of it. Headless browsers are laughably easy to detect…

> modern browser scripting is extremely easy, so you can often scrape things with mild single-person effort even if the site is an SPA with tons of dynamic JS.

I think he means the JS part is now easy to run and scrape compared to the transition time from basic download scraping to JS execution/headless browser scraping. It is more complex but the tools haven’t been as evolved as they are now a couple of years ago.

Re: Yt-dlp: Upcoming new requirements for YouTube downloads

#576
post #428

2045: "yt-dlp needs a copy of your digitized prefrontal cortex in order to bypass Youtube's HumanizeWeb brain scanner"

This assumes that YouTube will still exist in 2045.

I think it's safe to say that DRM and ads will still exist either way, so...

Re: Yt-dlp: Upcoming new requirements for YouTube downloads

#577

Earlier quoted context omitted.

"Attack vectors" is a very interesting choice of words. Yt-dlp is literally using a public API for its intended purpose (accessing videos). The only difference is how yt-dlp is delivering the videos to the user. Probably as much of an "attack" as user-agent spoofing or using browser extensions. But to answer your question, no, there aren't any suitable APIs (I've looked into it). They all either require JavaScript (y…

What about the smart TVs? There have to be a lot of them, do all of them run JS? Also what kind of environments are executing the JS? If Google begins to employ browser fingerprinting that may become relevant.

They have been using the older APIs kept around for the benefit of those smart TVs for a very long time, but things move on and newer TVs get fancier hardware and more full-featured software, which includes YouTube, and so Google has started proactively dropping support.

Re: Yt-dlp: Upcoming new requirements for YouTube downloads

#578

Allright, it means youtube is soon gone for me: deno is just a front-end to the abominations of the web engines from the whatng cartel. It would be a good compromise if I could have such an engine which I could build with a simple C compiler. You have modern javascript engines implemented in C, but no web engine, "la creme de la creme" of software abominations. Just a few weeks/months ago, gogol search was blocked to…

The change includes the ability to point yt-dlp at a Deno or Node binary of your own choice, which, in principle, allows someone to use a different runtime so long as it provides everything the script needs to run successfully.

Re: Yt-dlp: Upcoming new requirements for YouTube downloads

#579
post #62

Earlier quoted context omitted.

> Awaiting their “premium cannot be shared with people outside household” policy so I can finally cancel That's been a policy for a while, the sign up page prominently says "Plan members must be in the same household". No idea if its enforced though.

I have 2 homes. Every time I "go up north" I have to switch my Netflix household and then back again when I return. This sounds like that won't even be possible.

If it works like Youtube TV you are given the option to switch household locations when you get the nag screen.

Re: Yt-dlp: Upcoming new requirements for YouTube downloads

#580

Earlier quoted context omitted.

This is exactly why Google is clamping down on running your own choice of apps on Android, as well as pushing things like remote attestation on both phones and browsers. It's time to milk the entire userbase for every cent they can get out of them by any means necessary. The future is bleak.

They will probably start requiring SecureBoot as well. So at some point running Linux will also pose a problem. It's not impossible but the extra steps are a pain in the butt.

"Secure" boot is mostly a red herring, as there are lots of hardware options these days. Remote attestation takes away your ability to run libre Linux on any device if you want to interact with Google (or other surveillance company) network services. It completely repudiates the idea of the mutual-consent-based protocol.
Post reply on HN