Skip to content

Instantly share code, notes, and snippets.

@alana314
Created December 5, 2019 04:58
Show Gist options
  • Save alana314/ef652ac3f08b62e357209dfe32eab2a3 to your computer and use it in GitHub Desktop.
Save alana314/ef652ac3f08b62e357209dfe32eab2a3 to your computer and use it in GitHub Desktop.
youtube-dl-mp4 for forcing youtube-dl to download mp4
#!/bin/bash
#for OS X or linux
#place this file in /usr/local/bin/youtube-dl-mp4
#and chmod +x /usr/local/bin/youtube-dl-mp4
youtube-dl -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4' $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment