Yt-Dlp Sequence Diagrams(app.ilograph.com) |
Yt-Dlp Sequence Diagrams(app.ilograph.com) |
Link to Seal
I recently did a complete rewrite of our browser driver codebase by deeply analyzing playwright, puppeteer, selenium, and the chromium source code, relying heavily on auto generated diagrams to decide which parts to read myself / dive deeper on. Yes they occasionally leave things out if the underlying codebase hides the complexity or has no docs, but they're great for thoroughly documented mature codebases.
> a defined translation from one abstraction layer to another
A solution like the aforementioned cannot reliably present a view with a raised level of abstraction, as that necessitates either making unsound assumptions, or being provided with hints (which can be wrong or expire). Just like with code (because they are code).
And so if this is indeed just a rote visualization like that, sticking to the same level of abstraction (thereby not encountering this issue), then they stipulate it is "almost certainly useless, just like they usually are".
I personally find this agreeable, but then I rarely find diagrams particularly illuminating in general, so...
These particular yt-dlp diagrams were an experiment in getting meaningful sequence diagrams from a code repo using Claude. If you open the black tab on the left, you can see the source of the diagrams. Claude was able to generate most of this, albeit with a good amount of back-and-forth to get the details right, plus some manual tweaking in the end.
Do I need to be logged in with a Google account for it to work?
I always, since decades I want to say, ran into troubles whenever I download Youtube vids (no matter which tool I use, yt-dlp or other). It works, then doesn't anymore.
Are you simply, reliably, downloading Youtube vids? How? From a VM? From a container? From your main machine while being logged on?
P.S: congrats to the guys at Google, you sure made that hard
Of course. I always try with the latest versions of yt-dlp.
> For a good while login cookies were only required for downloading restricted videos (whatever youtube considered 18+). Now you need half a web browser to do anything and the update cadence is even crazier.
Yeah at some point in the past I had it mostly working. But basically now, what should I do? Maybe host a VM with an actual browser (not headless: just the real thing) and log into a Google account and then what, use yt-dlp from the same IP?
Basically I don't get it: no clue what needs to be done for YouTube downloads to work reliably (and I'm not talking 18+ stuff: actually I had zero idea there were even vids considered 18+ on YouTube).