Live data from Hacker News

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

github.com

151–160 of 646 posts

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

#151
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.

Pffft, and good riddance, comrade! Just think about native application and native performance, great native animations and native experience (and native ads, of course)! We won't have this god-awful Web (that propelled modern tech world in the first place) anymore, we can finally have personal vendetta against awful JS and DOM. No more interoperability, no more leverage against corpos, just glorious proprietary encla…

> No more interoperability

> no more leverage against corpos

> just glorious proprietary enclaves where local tyrant can do anything they want!

These are all literally consequences of the web btw, as are things like attestation in consumer hardware.

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

#152

Seems its already in Arch's repositories, and seems to work, just add another flag to the invocation: yt-dlp --cookies-from-browser firefox --remote-components ejs:github -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best" 'https://www.youtube.com/watch?v=XXX' It is downloading a solver at runtime, took maybe half a second in total, downloads are starting way faster than before it seems to me. [youtube] [js…

> It would be great if we could download the solver manually with a separate command

Download a random video and then copy ejs from yt-dlp’s cache directory (I think it’s in /home/username/.cache)

> being able to package it up together with the solver

`make yt-dlp-extra`

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

#153
post #91

Earlier quoted context omitted.

I compulsively take pictures of the sky, same never to be looked at

Taking pictures is important to getting better. Be glad that each one doesn't cost $.30 in film like it would have in 1980 - not inflation adjusted (prices from memory so perhaps off a bit). That is just the cost of the film you used, if you want to look at the negative you have development costs, and even more costs to get a print. Today you don't have to worry about costs of a photo and so can take a lot of them wi…

BLS says $0.30 is $1.25 today. Each roll was like 30 pictures too (24, but I like round numbers), so like her $30 a roll?

https://data.bls.gov/cgi-bin/cpicalc.pl?cost1=.30&year1=1980...

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

#154
post #36

I use yt-dlp (and back then youtube-dl) all the time to archive my liked videos. Started back in around 2010, now I have tens of thousands of videos saved. Storage is cheap and a huge percent of them are not available anymore on the site. I also save temporary videos removed after a time for example NHK honbasho sumo highlights which are only available for a month or so then they permanently remove them.

You are a digital hoarder. I have taken so many pics that I wouldn't even bother to look back that them (do we ever?) but Google memories is really a neat feature, it refreshes memories. I think you should run a similar service to refresh memory of your favourite videos like they are on speed dail.

Often when I am bored I pick a random day in the past and look at where I was on that day and which pictures I took. Refreshing memories is a great idea but the low tech way is enough for me.

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

#155
post #49
post #36

I use yt-dlp (and back then youtube-dl) all the time to archive my liked videos. Started back in around 2010, now I have tens of thousands of videos saved. Storage is cheap and a huge percent of them are not available anymore on the site. I also save temporary videos removed after a time for example NHK honbasho sumo highlights which are only available for a month or so then they permanently remove them.

I started after channels started removing their own videos because they either didn't think the videos were good enough or they had a mental break and deleted their channel. So good stuff just gone.

Some of the old YTPs were fantastic. They don't exist now.

Generations of talent & creativity just gone.

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

#156

Earlier quoted context omitted.

With browser's and hardware's support for DRM they could make it impossible if they want to. Basically the OS / recording software sees a blank screen. I was on live TV recently and wanted to keep a recording for myself, that wasn't just filming the screen with my phone. I first tried screen recording watching the show in my browser in their streaming service. Got a black video. Then I tried their phone app, got a bl…

I imagine there would be ways around this. I know from personal experience that Kazam screen recorder on Firefox on Ubuntu can record anything and everything, including YouTube as well as DRM content on Disney+ and Prime Video. I bet that it Google really wanted to it could force Firefox in line, but I imagine that actually preventing screen recording would require compliance at the OS level too, and I don't think th…

On Linux you can feed the GPU encoded bitstream and then GPU will use hardware to decode and display it as overlay.

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

#157

I remember when QuickTime came out in 1991 and it was obvious to everyone that video should be copied, pasted and saved like any arbitrary data. It's absolutely insane to me how bad the user experience is with video nowadays, even video that's not encumbered by DRM or complex JavaScript clients.

I was just reading how ATSC 3 (over the air TV) is kind of stalling because they added DRM fairly late in the roll out. Several people bought receivers that are now incompatible.

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

#158

It's quite worrying. A sizeable chunk of cultural and educational material produced in the last decade is in control of greedy bastards who will never have enough. Unfortunately, downloading the video data is only part of it. Even if we shared it all on BitTorrent it's nowhere near as useful without the index and metadata.

From the preservation point of view yes. But realistically, it's been the norm throughout human history that irrelevant culture simply gets removed.

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

#159

Earlier quoted context omitted.

1991 was the vibrant, exciting, crazy "adolescence" of the PC age and well into the period where it was cool to have a desktop PC and really learn about it. Phones are dominant now and have passed the PC generation by - in number, not capability. The concept of copy/paste/save for arbitrary data lives on for the non-tech masses only in the form of screenshots and screen recording features.

"Fitting into my pocket so I can use it in line at the post office" is a capability that desktop PCs have yet to manage to achieve.

My GPD pocket 4 fits into really large cargo pants if that counts lol, and there is the micropc2 too that’s even smaller :p

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

#160
post #103

Earlier quoted context omitted.

>outright blocking adblockers, which has no bearing on youtube's service The scale of data storage, transcoding compute, and bandwidth to run YouTube is staggering. I'm open to the idea that adblocking doesn't have much effect on a server just providing HTML and a few images, but YouTube's operating costs are (presumably, I haven't looked into it) staggering and absolutely incompatible with adblocking.

YouTube had a $10B Q3. I cannot imagine them spending $10B on servers and staff in three months.

Making a profit doesn't mean that their costs aren't so high that adblocking isn't compatible.

Walmart has profits of $157B in 2024, but their business model isn't compatible with people just walking in and grabbing stuff without paying - and doesn't make it ethical to do so even if "they'll be just fine even if I do that"

Post reply on HN