Last active
January 10, 2017 21:54
-
-
Save kevinlipe/318cef0aabfd5b5375d8 to your computer and use it in GitHub Desktop.
ytsnatch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# ytsnatch, a wrapper around youtube-dl, from TJ Luoma (http://luo.ma) | |
# this used to have a FOR loop that wrapped youtube-dl and iterated over formats. | |
youtube-dl -f bestvideo+bestaudio/best --restrict-filenames --no-overwrites \ | |
-o "~/Downloads/%(title)s-%(id)s.%(ext)s" "$@" && FOUND=yes # to use with burninator.scpt, this path has to be hard-coded. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment