
Tutorials and Scripts bash mp3 music python3 script
Source (link to git-repo or to original if based on someone elses unmodified work): https://github.com/mrbrownstone07/youtube-video-download-and-convert-bash-script
###YOUTUBE VIDEO TO MP3 CONVERTER###
**REQUIRES ffmpeg, youtube-dl and vim
##Installing requirements:
***Arch based***
sudo pacman -S ffmpeg
sudo pacman -S youtube-dl
sudo pacman -S vim
***ubuntu/debian based***
sudo apt install ffmpeg
sudo apt install youtube-dl
sudo apt install vim
***centos***
sudo yum install ffmpeg
sudo yum install youtube-dl
sudo yum install vim
***generic format***
sudo (____) ffmpeg
sudo (____) youtube-dl
sudo (____) vim
##setting up everything:
1.Extract the mp3.tar.xz and put it in your ~/home or ~/.local/scripts directory
2. Open your terminal run this commands
#RUN:
cd ~/mp3
mv ~/mp3/getMusic.sh ~/.local/bin
chmod +x ~/.local/bin/getMusic.sh
##How to use:
1. To download any music open the terminal and run this command
#RUN:
getMusic.sh
2. Now, this will prompt you a vim file, copy the links of the youtube videos which you want to download as mp3. 4. it will check if the video from the link has been already downloaded or not, if not downloaded then it will download the video convert it to mp3 format delete the video and put the *.mp3 into your ~/Music directory.
##Warning:
Do not remove any .txt file from the ~/mp3 directory.
chavarriaf
1 year ago
Report
madcap
1 year ago
Report