Live data from Hacker News

Yt-dlp: Upcoming new requirements for YouTube downloads

github.com

421–430 of 635 posts

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

#421
post #129

Ronsor [1] and reply by seproDev: > Why can't we embed a lightweight interpreter such as QuickJS? > @Ronsor #14404 (comment) The linked comment [2]: > @dirkf This solution was tested with QuickJS which yielded execution times of >20 minutes per video How on earth can it be that terrible compared to Deno? [1] https://github.com/yt-dlp/yt-dlp/issues/14404#issuecomment-3... [2] https://github.com/yt-dlp/yt-dlp/issues/14…

> How on earth can it be that terrible [>20 minutes] compared to Deno? QuickJS uses a bytecode interpreter (like Python, famously slow), and is optimised for simplicity and correctness. Whereas Deno uses a JIT compiler (like Java, .NET and WASM). Deno uses the same JIT compiler as Chrome, one of the most heavily-optimised in the world. That doesn't normally lead to such a large factor in time difference, but it expla…

My concern is either that QuickJS is something like 100x slower, or that even when using Deno, the download experience will be insanely slow.

In my mind, an acceptable time for users might be 30 seconds (somewhat similar to watching an ad). If QuickJS is taking >20 minutes, then it is some 40x slower? Seems very high?

> QuickJIT (a fork of QuickJS that uses TCC for JIT) might yield better results, but still slower than Deno.

Interesting, not come across it before. Running C code seems like an insane workaround from a security perspective.

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

#422
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.…

>Awaiting their “premium cannot be shared with people outside household” policy so I can finally cancel. Then I have good news for you! https://lifehacker.com/tech/youtube-family-premium-crackdown In fact, I've got an email from them about this already. My YT is still ad-free though, so not sure when it's going to kick in for real.

Ya I got this message when I was on vacation for a week. Seems a little messy on their part.

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

#423
post #64

Earlier quoted context omitted.

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…

NewPipe is incredible. If Google ever stops signing apps like that, I'll be switching to a Linux phone.

I use another app from F-Droid called Skytube for occasional downloads. I like it.

https://f-droid.org/en/packages/free.rm.skytube.oss/

https://f-droid.org/en/packages/free.rm.skytube.legacy.oss/

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

#424

Earlier quoted context omitted.

At least for YouTube, viewbotting is very much a thing, which undermines trust in the platform. Even if we were to remove Google ads from the equation, there’s nothing preventing someone from crafting a channel with millions of bot-generated views and comments, in order to paid sponsor placements, etc. The reasons are similar for Cloudflare, but their stances are a bit too DRMish for my tastes. I guess someone could…

> which undermines trust in the platform What? What does this even mean? Who "trusts" youtube? It's filled with disinformation, AI slop and nonsense.

you forgot the excessive censorship, of course to "fight disinformation"...

it even became an interesting signal which "disinformation" they deem censorship-worthy.

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

#425

Days of just getting data off the web are coming to an end as everything requires a full browser running thousands of lines of obfuscated js code now. So instead of a website giving me that 1kb json that could be cached now I start a full browser stack and transmit 10 megabytes through 100 requests, messing up your analytics and security profile and everyone's a loser. Yay.

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 mechanisms they have in place. Cloudflare won't detect a headless firefox at low (and by "low" I mean basically anything you could do off your laptop from your home IP) rates, 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. And obviously at low scale you can just solve captchas yourself.

I recently wrote a scraper script that just sent me a discord ping whenever it ran into a captcha, and i'd just go look at my laptop and fix it, and then let it keep scraping. I was archiving a comic I paid for but was in a walled-garden app that obviously didn't want you to even THINK of controlling the data you paid for.

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

#426
post #94

Just the other day there was a story posted on hn[0][1] that said YouTube secretly wants downloaders to work. It's it's always been very apparent that YouTube are doing _just enough_ to stop downloads while also supporting a global audience of 3 billion users. If the world all had modern iPhones or Android devices you'd bet they'd straight up DRM all content [0] https://windowsread.me/p/best-youtube-downloaders [1] h…

That conspiracy theory never even made sense to me. Why would anyone think that a payment and ad-supported content platform secretly wants their content to be leaked through ad and payment free means?

being a de facto monopoly has a lot of value that is hard to quantify...

e.g. censorship, metadata, real time society-wide trends, etc...

google is way-way more than just a company.

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

#427
post #252

Earlier quoted context omitted.

any recommendations?

Dailymotion, Vimeo etc. No ads, no bs it feels like freedom again. And if they change others will replace them.

And how do you watch content on dailymotion and vimeo when the content creators only post them on YouTube?

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

#429
post #299
post #242

Earlier quoted context omitted.

I'm not waiting for the collapse to fix things - I'm waiting for it so that I won't have any more distractions and I can go back to my books.

As I said, there aren't any collapses like that to be had. Heaven and Earth will be moved to make the smallest change necessary to keep things flowing as they were. Banks aren't allowed to fail. Companies, despite lengthy strings of missteps and billions burned on dead ends, still remain on top. You can step away from the world (right now, no waiting required). But the world can remain irrational longer than you can…

Oh I think the world will push me away at the next Android update. If I can't root/firewall/adblock/syncthing/koreader, the mobile phone will simply become a phone again.

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

#430

When I first got with my wife I seemed a bit crazier than I am because I am a media hoarder for 30+ years. I don't have any VHS, DVDs, etc. laying around because I only keep digital copies, but I have pretty decent archives. Nothing important really, just normal stuff and some rare or obscure stuff that disappears over time. My wife was interested in the idea that I was running "Netfix from home" and enjoyed the lack…

use the new preset feature to get h264: -t mp4

you can also skip the match filters by running the /videos URL instead of the main channel url.

if you want 720p, use -S res:720

Post reply on HN