Nim music download program for Youtube
- youtube-dl
- ffmpeg
You can download prerequistes easily.
sudo apt-get install ffmpeg
# Root Privilege
sudo pip install youtube-dl
# Non Root User (export PATH=$PATH:$HOME/.local/bin) in your .bashrc
pip install youtube-dl --user- Visit next site : Rpm Fusion Free
- Download
rpmfusion-free-releaseand install it. - Install ffmpeg
# Fedora
sudo dnf install ffmpeg ffmpeg-devel
# CentOS
sudo yum install ffmpeg ffmpeg-devel- Install youtube-dl
# Root Privilege
sudo pip install youtube-dl
# Non Root user -- Be sure to (export PATH=$PATH:$HOME/.local/bin) in your .bashrc (or .zshrc)
pip install youtube-dl --user- Warning: Don't copy your playlist link! It causes an error!
- Thus, re-search music and copy that link
Clone this repo.
git clone https://github.com/Axect/NiMusic
cd NiMusicFirst, make link.csv file in this directory or just use sample link.csv.
touch link.csvSecond, fill link.csv by youtube link (line by line).
Third, run binary file (This binary is compiled from fedora linux. If you use another OS, then plz recompile this)
./youtubeThat's it.
First, download nim
# Ubuntu
sudo apt-get install nim
# Fedora
sudo dnf install nim
# Arch
sudo pacman -S nim
# macOS
brew install nim
# Others (choosenim)
curl https://nim-lang.org/choosenim/init.sh -sSf | shSecond, compile my youtube.nim
nim c -d:release youtube.nimThen enjoy!