The reason this might work is that some shells, like zsh, interpretes the questionmark in the URL as a function of some sort, making the URL invalid to yt-dlp.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments