Live data from Hacker News

Yt-dlp: External JavaScript runtime now required for full YouTube support

github.com

401–410 of 646 posts

Re: Yt-dlp: External JavaScript runtime now required for full YouTube support

#401

Even when the so called "ad-pocalypse" happened, this wasn't as big of an issue as it is today. What's going on with Google being extra stingy seems to correlate well with the AI boom (curse). I suspect there are companies running ruthless bots scraping TBs of videos from YouTube. Not just new popular videos that are on fast storage, but old obscure ones that probably require more resources to fetch. This is unnatura…

>I suspect there are companies running ruthless bots scraping TBs of videos from YouTube.

certainly, but for Google, that bandwidth and compute is a drop in the bucket. at the scale Google operates, even if there were a hundred such bots (there aren't - few companies can afford to store exabytes of data), those wouldn't even register on the radar. of course, like the other social media oligarchs, Google wants to be the only entity with unrestricted access to their catalog of other people's content, but even that isn't their motivation here - "login to prove you're not a bot :^)" was ALWAYS going to happen, even without the AI bubble.

enshitiffication is unstoppable and irreversible, and Google is its prophet - what they don't kill, they turn to shit.

>I think AI-companies abusing the internet is why things are getting more constrained in general.

even before the AI bubble, every other fuckass blog with 0.5 daily visitors was behind Cloudflare, for the same reason those fuckass blogs are built with FOTM javascript frameworks - there's nowt so queer as webshits.

Re: Yt-dlp: External JavaScript runtime now required for full YouTube support

#402

Earlier quoted context omitted.

I use YouTube on a daily basis. I haven't seen any of these problems.

do you never encounter opening youtube video in a new tab only for video itself to load, while rest of the page doesn't?

Yes happens sometimes to me, Vivaldi.

Re: Yt-dlp: External JavaScript runtime now required for full YouTube support

#403

Earlier quoted context omitted.

What environment are you using that: - Has access to Youtube - Can run Python code - Can’t run JS code If the concern is security, it sounds like the team went to great lengths to ensure the JS was sandboxed (as long as you’re using Deno). If you’re using some sort of weird OS or architecture that Deno/Node doesn’t support, you might consider QuickJS, which is written in pure C and should work on anything. (Although…

> What environment are you using that: - Has access to Youtube - Can run Python code - Can’t run JS code They didn't say “can't run JS code”, but that from that location the solver could not be downloaded currently. It could be that it is an IPv6-only environment (IIRC youtube supports IPv6 but github does not), or just that all external sites must be assessed before whitelisted (I'm not sure why youtube would be but…

I've just hit the IPv6 problem. I routinely use yt-dlp -6 to cycle through my (basically infinite) set of IPv6 addresses. However when you do this, it tries the github EJS download over IPv6, which fails as github doesn't support IPv6 (because it's still the year 2000 over there).

Actually I think this is kind of a yt-dlp bug, since it doesn't need to use IPv6 for the github download.

Re: Yt-dlp: External JavaScript runtime now required for full YouTube support

#404

Earlier quoted context omitted.

I use YouTube on a daily basis. I haven't seen any of these problems.

Since some days I suddenly get freezes in the tab; these unfreeze after some time, say 20 seconds or so, but I notice a delay. Something has really changed to the worse lately. I think it has to do with anti-ad programs as well as AI, like the UI also changed. It is important to point out that while you do not have any issues, other people do or may.

I had that happen some week ago too! I had to clear site data + cookies for YouTube in Firefox before I got it to work again.

Re: Yt-dlp: External JavaScript runtime now required for full YouTube support

#405
post #57
post #3

In ten years time YouTube will be entirely inaccessible from the browser as the iPad kids generation are used to doomscrolling the tablet app and Google feels confident enough to cut off the aging demographic.

I hope they will do that, yes really. Because this will mean major shift to open-source and community solution, where creators will be paid directly by their viewers. I have NO problem, what so ever, to pay content creators directly. But I have HUGE problem to pay big corpos. It's ridiculous that we pay for Netflix same price as US people and for you it's cheaper than coffee and for us, if you compare median-salary,…

I'm sorry but this sounds hollow. Creators are specifically choosing to upload their content to YouTube. They have elected "big corpos" to handle payment for them.

You are not standing up for them by pirating their stuff from YouTube.

If you have a problem with it, it is on you to stop using YouTube to view their content. You did not gain a moral right to pirate their stuff just because you don't like the deal.

Re: Yt-dlp: External JavaScript runtime now required for full YouTube support

#406

Earlier quoted context omitted.

It would be like attending a time-share dinner and putting in earplugs during their speech. I definitely think it's permissible to do it, but it's also permissible for them to kick you out for doing it.

It's more like tearing out the ad pages of a magazine before reading it. Even if the magazine has fine print saying "the reader may not tear out the ad pages..." It's still a ridiculous rule and it isn't wrong for people to ignore it.

The right analogy would be a newspaper delivering you the paper in ~milliseconds when you ask for it, whereever in the world, for free, and then you proceed to rip off the ads and read it.

The reason newspaper do the delivery was the promise that you'll see the ads, and they get to make money from that ads.

If they notice that you do all of the work of providing you the newspaper almost instantly and you dont see the ads, they are either gonna have to a) politely refuse to serve you b) point you to an alternate way of accessing the newspaper ("Newspaper Premium" for $$)

Re: Yt-dlp: External JavaScript runtime now required for full YouTube support

#407

Earlier quoted context omitted.

> Holding Shift and selecting a chunk of a video to copy was simple because videos were mostly a succession of independently compressed frames. That was never true. QuickTime 1.0 famously included the Apple Video ("Road Pizza") codec, which had to do temporal compression in order to support video delivery at usable file sizes. > There are whole projects striving to provide a reliable way to just cut videos without ha…

It's crazy how even today, VLC still can't scrub in an h264 video and even skipping around takes seconds for it to catch up while QuickTime Player (AVFoundation) can scrub around in realtime. Early QuickTime was a miracle playing video on 25 MHz Motorola CPUs.

> It's crazy how even today, VLC still can't scrub in an h264 video and even skipping around takes seconds for it to catch up while QuickTime Player (AVFoundation) can scrub around in realtime.

I'm completely ignorant on this topic but couldn't this be related to patents?

Re: Yt-dlp: External JavaScript runtime now required for full YouTube support

#408

Earlier quoted context omitted.

What you’re describing with QuickTime was a proprietary nightmare that didn’t even work correctly across Apple products, let alone Microsoft or Linux. Today with modern tools like VLC or MPV and ffmpeg nearly anything can be viewed, streamed, or locally saved by your average user with basic Google search skills. And the number of free and paid video editing tools as far beyond what we ever had in the past. Then there…

Modern video tools provide an enormous selection, much of which is free. But I'll always miss VirtualDub.

But I don't want more tools. I want to be able to view a video on YouTube, shift-scrub to select a short clip, hit copy, then go over to X, write some commentary, and hit paste. I don't want to have to go through yt-dlp, a dedicated video editor, and a file picker.

This functionality was taken for granted when video on personal computers were first invented.

Re: Yt-dlp: External JavaScript runtime now required for full YouTube support

#409

Earlier quoted context omitted.

That's a bit like complaining no cars have trouble because your Fiat doesn't have a problem. There are more browser engines out there than the ones you use, some in direct competition with Google themselves, maybe people using those engines are experiencing issues? Jumping to calling out "hyperbole!" sounds like hyperbole itself, since you don't actually have broad experience enough to say if that's true or not. FWIW…

> That's a bit like complaining no cars have trouble because your Fiat doesn't have a problem. No. Because even if it might be complicated, any website developer can test their website against a wide array of browsers, in a more or less automated way.

So you're expecting Google engineers and managers to prioritize adding broad cross-browser support, which adds more work for them, when the same company is also developing a competing browser?

No, Firefox always been a second-rate guest at Google properties, and I'm not expecting it to change soon either. Why would they make it better when status quo means more Chrome users (in their mind)?

Re: Yt-dlp: External JavaScript runtime now required for full YouTube support

#410

Earlier quoted context omitted.

It's more like tearing out the ad pages of a magazine before reading it. Even if the magazine has fine print saying "the reader may not tear out the ad pages..." It's still a ridiculous rule and it isn't wrong for people to ignore it.

The right analogy would be a newspaper delivering you the paper in ~milliseconds when you ask for it, whereever in the world, for free, and then you proceed to rip off the ads and read it. The reason newspaper do the delivery was the promise that you'll see the ads, and they get to make money from that ads. If they notice that you do all of the work of providing you the newspaper almost instantly and you dont see the…

Firstly, ad watch time is not currency.

Second once the paper's in my hands, I get to do what I want with it, and the expectations of the paper company has no bearing on it.

If they don't want to give me the paper for free, they should stop, but they haven't yet. Their expectation to make a certain amount of revenue from ads doesn't obligate the consumer. If their business model isn't making them the profit they need, it's on them to change their strategy.

Post reply on HN