Download videos from YouTube and convert them to MP3
This Shell script allows you to download videos(and even playlists) from YouTube, and convert them to mp3.
Required: Youtube-dl, ffmpeg
How to use
Run the script in the terminal using:
./download_mp3.sh {insert-video/playlist-url}
You can also set a variable in bash, so your videos will be download on a specific directory, in order to use this feature, use the following command:
export DOWNLOAD_PATH_SCRIPT="insert/path/here"
After that, for every use of this script(in the current terminal), all the videos will be download to the specified path.
Credits
Special thanks for my friend, Rafael Amauri, who helped me with this project.