Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- if [ -n "$1" ]; then
- videourl=$1
- else
- videourl=$(pbpaste)
- fi
- /usr/local/bin/youtube-dl --output 'Downloads/video.%(ext)s' --exec '/Users/mcnesium/Applications/VLC.app/Contents/MacOS/VLC {} && rm {}' $videourl
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement