News for hackers. Stuff that matters.
Re:Let your Coding Agent debug the browser session with Chro... by defen on Sunday March 15, 2026 @05:25PM (#47392112)
Would this hypothetically be able to download arbitrary videos from youtube without the constant yt-dlp arms race?
Re:Let your Coding Agent debug the browser session with Chro... by dawnerd on Sunday March 15, 2026 @05:44PM (#47392278)
Don’t know how this could be more stable than ytdlp. When issues come up they’re fixed really quickly.
Re:Let your Coding Agent debug the browser session with Chro... by varenc on Sunday March 15, 2026 @06:20PM (#47392587)
yt-dlp was very recently broken for ~2 days for any Youtube videos that required cookies: https://github.com/yt-dlp/yt-dlp/issues/16212

Here is what actually fixed it: https://github.com/yt-dlp/ejs/pull/53/changes

yt-dlp is relatively stable, but still occasionally breaks for long periods. I get the sense YouTube is becoming increasingly adversarial to yt-dlp as well.

I don't know the details, but it doesn't seem like yt-dlp is running the entire YouTube JS+DOM environment. Something like a real headless browser seems like it would break less often, but be much heavier weight. And Youtube might have all sorts of other mitigations against this approach.

Re:Let your Coding Agent debug the browser session with Chro... by toomuchtodo on Sunday March 15, 2026 @06:27PM (#47392659)
I think having a hook to an LLM endpoint to enable yt-dlp to attempt to self resolve until an official fix is available would be a useful enhancement.
Re:Let your Coding Agent debug the browser session with Chro... by coro_1 on Sunday March 15, 2026 @09:19PM (#47393993)
> I get the sense YouTube is becoming increasingly adversarial to yt-dlp as well.

I rarely use yt-dlp anymore.

Before I just updated. Now when I do that, it usually becomes complex and full of questions.

Re:Let your Coding Agent debug the browser session with Chro... by 22c on Sunday March 15, 2026 @09:45PM (#47394159)
> yt-dlp is running the entire YouTube JS+DOM environment

IIRC they maintain a minimal execution environment that is able to run just the JS needed to pass a few checks but this breaks too often enough that they're planning to make Node.js or another JS interpreter a hard requirement (possibly already happened).

Re:Let your Coding Agent debug the browser session with Chro... by defrost on Sunday March 15, 2026 @09:51PM (#47394202)
Pretty much - yt-dlp currently requires Deno to "solve" youtube challenges.

* https://deno.com/

* there may well be other JS interpreters that are accepted, can be used - but solving JS challenges is required for much, if not all, YT content.

Re:Let your Coding Agent debug the browser session with Chro... by zipping1549 on Sunday March 15, 2026 @11:08PM (#47394764)
> const url = (${generate(expression)})("https://youtube.com/watch?v=yt-dlp-wins", "s", sig);

I'm pretty sure yt-dlp is filled with these kinds of gold.

Re:Let your Coding Agent debug the browser session with Chro... by dataviz1000 on Sunday March 15, 2026 @05:28PM (#47392141)
> yt-dlp arms race

I don't know anything about yt-dlp.

It would probably help people who want to go to a concert and have a chance to beat the scalpers cornering the market on an event in 30 seconds hitting the marketplace services with 20,000 requests.

I can try to see if can bypass yt-dlp. But that is always a cat and mouse game.

Re:Let your Coding Agent debug the browser session with Chro... by defen on Sunday March 15, 2026 @05:35PM (#47392200)
To clarify - yt-dlp is a command line tool for downloading youtube videos, but it's in a constant arms race with the youtube website because they are constantly changing things in a way that blocks yt-dlp.
Re:Let your Coding Agent debug the browser session with Chro... by dexterdog on Sunday March 15, 2026 @08:15PM (#47393563)
I would call it an arms race. I don't update my client that often and I rarely have problems downloading any video with it.
Re:Let your Coding Agent debug the browser session with Chro... by phantomathkg on Sunday March 15, 2026 @10:14PM (#47394396)
If it can save all the video/audio fragment and call ffmpeg to join them together. Maybe?