Created
March 5, 2021 13:39
-
-
Save gcaracuel/fc97d19cf2479f9dfc4f4c82dcf1b6a1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Requirements: | |
## $ brew install yourtube-dl | |
## $ brew install ffmpeg | |
# Download as Mp3 a full video | |
youtube-dl -x --audio-format mp3 -o "%(title)s.%(ext)s" https://www.youtube.com/watch\?v\=TmKh7lAwnBI | |
# Download as Mp3 a video cutting some seconds from beginning and the end | |
youtube-dl -x --audio-format mp3 -o "%(title)s.%(ext)s" --postprocessor-args "-ss 00:00:09.00 -t 00:04:10.00" https://www.youtube.com/watch\?v\=k0VNCoy10xg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment