A youtube-dl based script to backup your Openwhyd playlists.
openwhyd-pl-dl.sh <PROFILE_URL>
downloads all the tracks of all playlists of an Openwhyd profile, as MP3 files.openwhyd-dl.sh <PLAYLIST_URL>
downloads all the tracks of an Openwhyd playlist, as MP3 files.openwhyd-pl-dl-json.sh <PROFILE_URL>
downloads the tracklists of all playlists of an Openwhyd profile, as JSON files.
- Playlist and track order is maintained using numbered prefixes
- Failed downloads (e.g. deezer tracks, and deleted/broken links) are logged into a file
- youtube-dl, python program to download videos from YouTube.com and a few more sites
- ffmpeg, to convert files to mp3 format, instead of m4a
- curl, command line tool for transferring data with URLs
- jq, lightweight and flexible command-line JSON processor
These scripts were successfully tested on Mac OS 10.11.6 (El Capitan) in August 2016. Some of them are also tested in a Linux-based Continuous Integration environment (see GitHub Actions).
./openwhyd-pl-dl.sh https://openwhyd.org/adrien