Script for yt-dlp parsing with comamnd switches.
Someone asked a few days ago about a script to use a file with URLs, but preceded by command switches, like
-f 18 https://www.example.com/abc
to pass into yt-dlp. I put together a quick script to do that on GitHub. It's only tested in bash on Linux; I don't know if it would work in Windows bash or not. If someone tries it, please let me know how it worked. I think it would work on a Mac, but don't have one to test with; so again if you try it please let me know how it went. If you develop versions for any different OS or environment, please send me a pull request; I'd be happy to add it.
One of these days I might care enough to actually add that as an option into yt-dlp itself, but that's a lot more work. :)
Posted Oct 3, 2025, 5:20 PM UTC
86