frankjonen

Download training videos

Apr 11th, 2020
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.46 KB | None | 0 0
  1. # Download training videos for easy viewing.
  2.  
  3. # :1: Get `youtube-dl`
  4. brew install youtube-dl
  5.  
  6. # :2: Add this to your `.bash-profile`
  7. alias yt='youtube-dl -f best'
  8.  
  9. # Now to download any video, just type `yt` followed by the video URL
  10. # In the case of a youtube video, this will select the best available option and download it
  11. # To avoid geography-based censorship, add `--geo-bypass` to the string.
  12.  
  13. # Don't have homebrew?
  14. # Get it here: https://brew.sh
Add Comment
Please, Sign In to add comment