Easy Command with ‘youtube-dl’ on MacOS
Jun 11, 2021
Try the code for fun
If you do not have homebrew:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install wget --with-libressl
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dlsudo chmod a+rx /usr/local/bin/youtube-dl
OK now, use commnad ‘ youtube-dl https://www.youtube.com/watch?v=3f3_jmUB2-E’
And maybe you want to convert to .mp4 right?
So use like this ‘youtube-dl https://www.youtube.com/watch?v=3f3_jmUB2-E -f mp4’
May be you want the sub ?
zh-TW is differ by the Lang you want.
youtube-dl https://www.youtube.com/watch?v=Qkf4farak1k — write-sub — embed-sub — sub-lang zh-TW -f mp4
Have a nice day