Software to download a whole playlist from youtube
- python2.7:
sudo apt-get install python2.7
- nodejs:
sudo apt-get install nodejs
- youtube-dl:
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl
hash -r
- depends on "ffmepg" or "avprobe":
sudo apt-get install -y ffmpeg
- cheerio (already included)
- Find a youtube page that has a playlist (e.g. this link)
- Copy the URL
- Execute PlaylistDownloader with the link as the parameter, wrapped by double quotes:
./downloadplaylist.sh "<link here>" <options>
- Check the output to see if there are any errors. Also, check the folder "YoutubePlaylist" in your Videos folder, in your home directory.
--audio-only Downloads only the audio, as mp3, on Music folder, in the home directory
./downloadplaylist.sh "https://www.youtube.com/watch?list=RD8gvJX_L71bs&v=n3Go8ub9a1k" --audio-only