download-video.sh 250 B

123456789101112131415
  1. #!/bin/bash
  2. VIDEO=${1:DwWvl0M}
  3. youtube-dl \
  4. --verbose \
  5. --add-metadata \
  6. --no-mark-watched \
  7. --yes-playlist \
  8. --write-all-thumbnails \
  9. --all-subs \
  10. --no-call-home \
  11. --restrict-filenames \
  12. "https://www.youtube.com/watch?v=$VIDEO"