Live data from Hacker News

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

github.com

81–90 of 646 posts

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

#81
post #15
post #9

Earlier quoted context omitted.

I guess the point was that yt-dlp is only possible, because of the mandatory protocols you need in the browser. Moving to native app makes it much easier to prevent downloading and denying access to the unencrypted content.

I think these days yt-dlp is possible because they're relying on the infra YouTube has for their TV apps, which are html5 (ish) browser apps. so they'd also have to dedicate time to building native apps for every TV in existence, even if youtube.com went away.

I think that too. When the people refresh their TVs with the newer, more DRM friendly/updated version this channel will meet its end :(

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

#82
post #35
post #9

Earlier quoted context omitted.

I guess the point was that yt-dlp is only possible, because of the mandatory protocols you need in the browser. Moving to native app makes it much easier to prevent downloading and denying access to the unencrypted content.

My understanding is that the original yt-dl used the browser interface. yt-dlp uses the android app interface.

>This impacts yt-dlp as we currently request video data from YouTube as if we were YouTube on TV.

https://github.com/yt-dlp/yt-dlp/issues/12563

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

#83
post #52

Earlier quoted context omitted.

And it's an entirely useless effort. No idea how it is done but the internet is full 4k rips.

They find devices that are easy to hack (and I mean rip and tear) and extract the decryption keys from each of them, from what I have heard cheap chinese tvs and set top boxes, they extract the keys from the chips (hardware hacking, heard some even use microscopes to read the keys by hand), and then use them to decrypt streams, I heard that they catch them pretty fast to they use like 1 device per season. This is why…

The analog hole is real.

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

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

Do you ever go back and actually watch those videos? Whenever I start to journal, track, or just document something, after some time I notice again and again that most of the value has already been created the moment I finish working on a specific entry. Even with something seemingly very important like medical records. Maybe one exception I can think of are recordings of memories involving people close to you

I actually do! I have a perpetual VLC playlist which plays those videos randomly if I need some background noise.

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

#85
post #13
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.

They’d need dedicated hardware to enforce any kind of effective DRM. Encrypted bitstream generated on the fly watchable only on L2 attested device.

maybe to stop the .01%. switching to app only, sign in only would get them pretty much all the way there.

They own the os, with sign-in, integrity checks, and the inability to install anything on it Google doesn't want you to install they could make it pretty much impossible to view the videos on a device capable of capturing them for the vast majority of people. Combine that with a generation raised in sandboxes and their content would be safe.

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

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

do you have a cron job or something? i know it is probably trivial but eh

No! It would be easier but I burned myself so many times with removed videos that I do it on my own basically asap manually. Not a big deal once you have yt-dlp properly

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

#87
post #9

Earlier quoted context omitted.

It's not YouTube though, but downloader :) "yt-dlp is a feature-rich command-line audio/video downloader with support for thousands of sites. The project is a fork of youtube-dl based on the now inactive youtube-dlc."

I guess the point was that yt-dlp is only possible, because of the mandatory protocols you need in the browser. Moving to native app makes it much easier to prevent downloading and denying access to the unencrypted content.

> Moving to native app makes it much easier to prevent downloading and denying access to the unencrypted content.

It would still be possible with native apps. Somebody will have to reverse engineer it continuously. So it will be slower, but still possible.

However, that won't be the case if they start using some secret (like a private key) that you can't access directly from an app, or if they decide that you can't run custom/modified apps. That's what I believe to be the true intentions behind their push to adopt dystopian technologies like secure enclaves and platform attestation. Not really about security as they claim.

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

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

do you have a cron job or something? i know it is probably trivial but eh

Popular self-hosted solution: https://github.com/tubearchivist/tubearchivist

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

#89
post #52

Earlier quoted context omitted.

They find devices that are easy to hack (and I mean rip and tear) and extract the decryption keys from each of them, from what I have heard cheap chinese tvs and set top boxes, they extract the keys from the chips (hardware hacking, heard some even use microscopes to read the keys by hand), and then use them to decrypt streams, I heard that they catch them pretty fast to they use like 1 device per season. This is why…

Interesting - do you have any sources to read further?

Search for widevine decrypt. You’ll find code and forums where at least some L3 (software) keys are publicly shared. For high resolution on some platforms, you need L1 keys, but as far as I understand the decryption process basically stays the same once you have a working key.

Random article: https://www.ismailzai.com/blog/picking-the-widevine-locks

Claimed to be L1 key leaks (probably all blacklisted by now): https://github.com/Mavrick102/WIDEVINE-CDM-L1-Giveaway

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

#90
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.
Post reply on HN