If I were to guess, youtube-dl fits the bill... just like browsers, it has the problem that it needs to update far more frequently than any OS/distro schedule allows.
Except Debian backports yt-dlp for Stable. That's why the answer is backports. If it works for something like yt-dlp, it should work for something similar, especially if it's already in Testing (since that is usually the source for the rebuild for Stable).