Live data from Hacker News

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

github.com

541–550 of 646 posts

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

#541
post #186

Earlier quoted context omitted.

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!

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

YouTube is currently A/B testing some real annoyances:

https://news.ycombinator.com/item?id=45868987

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

#542
post #186

Earlier quoted context omitted.

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!

Do you use Firefox on Linux, too? 4K Videos freeze so often for me, I don't even try watching them online, and always just download them with yt-dlp. It doesn't bother me enough to give Chrome a try, but maybe that'd make a difference.

This absolutely screams graphics card drivers problems to me.

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

#543

Earlier quoted context omitted.

It is likely you use Chrome or a browser that uses Blink for its engine and the OP uses a non-blink browser like Firefox. I use Firefox and I can cofirm since the last few months Youtube usability borders on usable

Yeah, big same here. It’s pretty frustrating, because I pay for YouTube premium, but cannot use my preferred browser. I have to use Chromium in order to have it work reliably. Doubly so considering it worked fine in Firefox for YEARS… until maybe six months ago? It feels like something the FTC should be investigating, or perhaps a European equivalent, but I doubt it will.

The FTC will not investigate anything that was not reported to them. Did you report your experience? They do care about these issues, if you care enough to take six minutes to report it.

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

#544

Earlier quoted context omitted.

Well... I have many new, emerging problems with YouTube as of lately. For example I have to scroll down a lot to get to the comment section, the suggestions are all over the place, and so forth. Annoying. Also due to uBlock Origin, some videos do not start and I have to refresh. It is not much of an issue for me but the fact that apparently I need a huge monitor to see the "old layout" is a problem for me.

It feels like "serving you the video you actually want to see" has become some kind of unimportant side quest, as opposed to serving you the crap (Ads, Shorts, recommendations, comments, sponsored content) that they would rather you be looking at.

This is the essence of enshittification. The good fast useful free offering is the bait, and this... stuff... is the switch.

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

#546

Earlier quoted context omitted.

> The JS script being downloaded is from the yt-dlp GitHub organization I meant the challenge that is the reason they need the Javascript in the first place. You can’t very well run yt-dlp without trusting yt-dlp code.

The original point was this: > > IMO it seems like it should safe to trust code being served by Google on the official Youtube domain Which came from a misunderstanding about where the downloadable solver script comes from, as it doesn't come from youtube.com, it comes from github.com (yt-dlp org), I was just correcting that misunderstanding. > You can’t very well run yt-dlp without trusting yt-dlp code. That makes a…

Restricting or sandboxing software is something I've been looking into recently. Would you mind sharing what you use and possibly an example as well? Perhaps an example for yt-dlp?

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

#547
post #27

More and more recently with youtube, they seem to be more and more confrontational with their users, from outright blocking adblockers, which has no bearing on youtube's service, to automatically scraping creators content for AI training and now anything API related. They're very much aware that there is no real competition and so they're taking full advantage of it. At the expense of the 'users experience' but these…

adblocking "users" are not Youtube's users. What do you mean blocking ads has no bearing on their service? It sounds like you are saying user experience is "I should get this for free".

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

#548
I still remember when it was as simple as a request to /get_video?video_id=XXXXXXXX with possibly a &fmt=YY parameter.

Great fuckings to those at YT, I wonder if they ever feel bad for what they're doing or they are just happy to get $$$.

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

#549
post #61
post #27

More and more recently with youtube, they seem to be more and more confrontational with their users, from outright blocking adblockers, which has no bearing on youtube's service, to automatically scraping creators content for AI training and now anything API related. They're very much aware that there is no real competition and so they're taking full advantage of it. At the expense of the 'users experience' but these…

> At the expense of the 'users experience' but these days, large companies simply don't suffer from a bad customer experience anymore. This is my personal opinion. They're still affected by customer satisfaction and they're still driven by market forces. It's just that you and I are not their customers. It's not even the YT premium customers. Google is and always has been an ad service company and their primary custo…

> This is my personal opinion. They're still affected by customer satisfaction and they're still driven by market forces. It's just that you and I are not their customers.

Fair opinion and I agree. Is it sustainable, you think not but I believe it doesn't matter.. Line must go up.. when you're a tech company with a finance team larger than Enron, only the number today matters. Add to that the patent worth.

The internet I loved and helped grow is something I don't recognise anymore. Maybe there's a new generation of hackers who make the new system.

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

#550

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…

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…

I've found having yt-dlp available on my iPhone useful, and used Pythonista to achieve that, but haven't figured out how to get the new requirements to work yet. Would love any ideas people have!
Post reply on HN