reprise5 / ytdl

Youtube Downloader script using avconv and youtube-dl. you pass a URL, and it downloads the stream, converts to MP3, and can even write ID3 Tags easily.
2 stars 0 forks source link

Check for dependencies in installer #10

Open reprise5 opened 5 years ago

reprise5 commented 5 years ago

in install.sh check for dependencies:

reprise5 commented 4 years ago

Secon'd thought don't install through python-pip, because then you have to update it through python-pip. It's not hard to do that, but it's easier to install by source.

As part of the install, tll the user we need libav-tools, youtube-dl python3, eyeD3. Install youtube-dl like this:

wget -O - https://yt-dl.org/downloads/latest/youtube-dl | sudo tee /usr/local/bin/youtube-dl >/dev/null
sudo chmod a+x /usr/local/bin/youtube-dl

At the end of the script, clean up.