As a heads up, you might soon need a JS runtime to make it work[1]. You might have to tweak even more (:
[1]https://github.com/yt-dlp/yt-dlp/issues/14404
Oh boy, fun stuff. Thanks for the heads up