Created
February 4, 2017 17:26
-
-
Save vjk2005/60fc9294639e44efa899683f91a9a78b to your computer and use it in GitHub Desktop.
How to download the highest quality audio from a video and convert to mp3
This file contains hidden or 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
youtube-dl -ciw --restrict-filenames -o "/media/Scrape/youtube/mp3/%(upload_date)s-%(title)s.%(ext)s" --audio-format mp3 --audio-quality 0 --exec "ffmpeg -i {} -codec:a libmp3lame -qscale:a 0 {}.mp3 && rm {} " "<youtube URL>" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment