Easy Command with ‘youtube-dl’ on MacOS

Try the code for fun

If you do not have homebrew:

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

--

--

Major in physical education. Football referee. And high interest in looking the world through the numbers.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Mario tsai

Major in physical education. Football referee. And high interest in looking the world through the numbers.