Live data from Hacker News

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

github.com

181–190 of 646 posts

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

#181
From https://github.com/yt-dlp/yt-dlp/issues/14404

> What about Selenium or a headless browser solution?

>

> The yt-dlp maintainers have no interest in doing this except as a measure of last resort. A headless browser solution would be an admission of defeat and would go against the spirit of this project.

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

#182

I am impressed at their resourcefulness. Knock on wood not to jinx it, but I wonder why this manages to stay up on github when eg paywall-busting chrome extensions get banned from there (because of DMCA takedowns I guess?)

there was already an attempt to take it down back in 2020/2021 [0]. The DMCA claim's main argument was that ytdl was circumventing Techincal Protection Measures (TPMs) in order to access the content. Thanks to a letter from the EFF [1] which explains how ytdl accesses content in the same way that a browser does (i.e. it does circumvent anything such as DRM), github rejected the takedown. this is also why ytdl has sto…

Thanks for context with good links!

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

#183

Earlier quoted context omitted.

No.

How so? What’s missing?

* Several hundred million tracks that are not labeled as "music" by uploaders, to start.

* Native integration with my phone music player, allowing for things like seamless playback, etc.

* Things I like on YouTube automatically go to my device.

* If a track is removed from YouTube, it stays on my device.

(Did you take 10 seconds to read my comment above?)

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

#184

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.

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.

long press -> save image/video is perfectly supported on a phone, it's just content diffusion platform that arbitrarily restrict it.

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

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

Might sound stupid, but: differences between Google memories vs. Snapchat memories?

Also my issue is that I would NEVER upload the photos I have on my hard drive due to privacy issues, but if I had a local model that could categorize photos and whatnot, that would be cool. I have over 10k screenshots / images. Many of them have text on it, so probably need OCR.

> You are a digital hoarder.

Is this meant to be negative? Many videos I have watched on YouTube are now unavailable. I wish I had saved them, too, i.e. I wish I was a digital hoarder, too, but eh, no space for me.

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

#186

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…

Glad to hear it’s faster now!

YouTube barely works in a full-on browser these days, props to the team that keeps it accessible via a Python script!

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

#187

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.

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

The video experience for typical video files is great these days compared to the past. I think you may be viewing the past through rose colored glasses. For years it was a pain to deal with video because you had to navigate third party players (remember Real Player?), Flash plugins, and sketchy codec pack installs from adware infested download sites. If you were tech support for friends and family during that era, it was common to have to remove adware, spyware, and other unwanted programs after someone went down the rabbit home of trying to install software to watch some video they found.

The modern situation where your OS comes with software to play common files or you can install VLC and play anything is infinitely better than the past experience with local video.

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

#188

Earlier quoted context omitted.

Yes, I see Youtube going deep into enshitiffication. On my Macbook this morning with a FF-dev edition it just stopped to work this morning. Don't know if it's related to the fact I tried to install an extension to "force H264" on my Ubuntu box. On the latter fans started to go crazy as soon as I open a single youtube tab lately and a quick research led me there. Actually at this point the only thing that makes the go…

It’s not just you. My Firefox, with no extensions, have struggled on YouTube the past weeks. Sometimes I can’t even click on the front page, sometimes when I open a video it refuses to play. I don’t know what’s up, but it works in chrome.

I also had it stop working completely. I thought they finally wised up to my adblocker, but I decided to finally install that update I had been sitting on for a while and it just started working again

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

#189

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

I remember when VCR's came out and everyone would take TV shows and share them with their friends.

By now we should be able to share video on SD Cards that just pop into a slot on the top of the TV, but the electronics companies are now also the content companies, so they don't want to.

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

#190
post #45

Earlier quoted context omitted.

If by army you mean underfunded open source volunteers then yes.

If it's free, can you even talk about underfunding?

You can donate to a free project, including yt-dlp (https://github.com/yt-dlp/yt-dlp/blob/master/Maintainers.md#...)
Post reply on HN