summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-08-19Clarify and fix printing of error message on missing argsmainSteph Enders
The variable wasn't wrapped in quotes in echo and reversing the lines made things much more clear
2024-08-19Create basic script to download "best" format of YT videoSteph Enders
Known quirks: if the best two formats are mp4 the FMT_LINE will have 2 lines in it; it currently assumes the top two are webm and mp4, but this is a quick fix I'll likely do in a later commit. (just swap the grep and tail -n 1) We just force m4a as the audio but this may not be optimal; you can get the audio formats and merging the two best may be the best situation especailly for audio focused things like a music video or something.