Live data from Hacker News

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

github.com

131–140 of 646 posts

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

#131

Earlier quoted context omitted.

Just because the balance shifts doesn't mean the desktop/laptop stops being supported. Laptops aren't going anywhere. Even if phones and tablets replace them for a third of tasks, or a third of people. The idea that laptops with browsers would become so rare that YouTube would drop support, within any reasonably predictable future timeframe, is pure fantasy.

>within any reasonably predictable future timeframe I think given the pace of technological advancement and given how every generation we see at least one major piece of electronics completely wipe out generations of predictions, this statement doesn’t serve a productive purpose other than to make “I don’t agree” sound like some variation of “it’s an objective fact that what you said is impossible.” You’re just spiki…

> It’s not that far fetched.

That's what I'm disagreeing with. Your scenario is far-fetched. This isn't between two comparably plausible scenarios. You can look at current objective trends of desktop/laptop sales and see they're not moving such that they're going to meaningfully disappear to the extent where a popular site like YouTube would remove support. It's absolutely far-fetched. I'm not "spiking" any conversation, I'm simply completely disagreeing based on current actual trends.

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

#132

Earlier quoted context omitted.

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

Gives me Magnum Archives vibes.

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

#133

Earlier quoted context omitted.

Same here and my motivation was that some of my liked videos were randomly removed and it's pretty cool music I wanted to keep forever. I made another script that adds the video thumbnail as album art and somehow tries to put the proper ID3 tags, it works like 90% of the time which is good enough for me. Then I made another script that syncs it to my phone when I connect it. So now I have unlimited music in my phone…

I have a script that calls out to a small llm artist = llm_call("return the name of the artist based on this title", title) etc. with some stripping of newlines etc. It works well! they can often infer the correct answer even if it's not present in the title

Hey ^^, that's a great idea.

I wrote all of this stuff pre-LLMs, never occurred to me until now, thanks!

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

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

Anything you see on the Internet can be gone in a moment. If something is important to you, you must save it to guarantee you want to see it again.

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

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

I look at my pictures regularly. They are on my phone, mostly I scroll back 1-3 months to refresh my memory, and I often go further back to check on how living things were around me, and to what my general surrounding looked like. I also like to look at game screenshots from time to time. Funny to see how I lived life back then.

The Memories feature sounds cool. I have something a bit similar on my Nextcloud, "On this day", that shows an image dated on the same day in previous years, and clicking it brings up more pictures from its general time. I love it! So many memories.

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

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

One constant about Google, they always bet on the web.

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

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

Same here and my motivation was that some of my liked videos were randomly removed and it's pretty cool music I wanted to keep forever. I made another script that adds the video thumbnail as album art and somehow tries to put the proper ID3 tags, it works like 90% of the time which is good enough for me. Then I made another script that syncs it to my phone when I connect it. So now I have unlimited music in my phone…

I doubt that it’s a nobody else situation, and it’s more of a management doesn’t want it as it takes away the need for their own streaming offerings. Music industry also doesn’t want it, as there’s no more royalties coming in. Can’t release an app that pisses of the industry.

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

#139
post #102

From https://github.com/yt-dlp/yt-dlp/wiki/EJS it looks like deno is recommended for these reasons: > Notes > * Code is run with restricted permissions (e.g, no file system or network access) > * Supports downloading EJS script dependencies from npm (--remote-components ejs:npm).

It's fine for this project since google is probably not in the business of triggering exploits in yt-dlp users but please do not use deno sandboxing as a your main security measure to execute untrusted code . Runtime-level sandboxing is always very weak. Relying on OS-level sandboxing or VMs (firecracker & co) is the right way for this.

i wonder if it would be legal if they did, as an anti-circumvention counter-measure.

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

#140

Perhaps a stupid question, but is there some reason I can't potentially fall back to recording my screen / audio in realtime and saving videos that way? yt-dlp is obviously far superior to this, but just thinking about what my fallback points are.

In the current times yes, you can basically record your screen with whatever tool you fancy.

But even now, many video sites employ DRM, and only the weakest levels of DRM streams can be recorded off the screen. If they crank that up, which is perfectly possible today, the screen recordings only shows a blank rectangle, because the encryption goes from server to video card. At this stage, "hdmi recorders" are the next level - they capture the audio/video stream from the hdmi cable output for example.

Even further, there is technology to encrypt from server to screen. I'm not sure on the rollout on this one. I think we have a long time until this is implemented, and even then, I'm sure we will have the ability to buy screens that fake the encryption, and then let us record the signal. And, for mainstream media, there will be pirated copies until the end of time I think.

Post reply on HN