News for hackers. Stuff that matters.
Re:Youtube-dl: Command-line program to download videos by majewsky on Thursday July 05, 2018 @04:04AM (#17461616)
I use a shell wrapper for mpv that takes the URL from the clipboard when no arguments are given:

  mpv() {
    if [ $# -eq 0 ]; then
      env mpv "$(xsel -b)"
    else
      env mpv "$@"
    fi
  }
Re:Youtube-dl: Command-line program to download videos by Mashimo on Thursday July 05, 2018 @05:36AM (#17461937)
What if you have "&& rm -rf /" in your clipboard and forget about it?
Re:Youtube-dl: Command-line program to download videos by fjarlq on Thursday July 05, 2018 @06:51AM (#17462222)

  $ mpv "&& rm -rf /"
  Playing: && rm -rf /
  [file] Cannot open file '&& rm -rf /': No such file or directory
  Failed to open && rm -rf /.
Re:Youtube-dl: Command-line program to download videos by atomi on Thursday July 05, 2018 @03:33PM (#17466115)
Since the cat's out of the bag. You can also just use a ClipIt action.