adrienjoly / openwhyd-pl-dl

A youtube-dl based script to backup your Openwhyd playlists.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

openwhyd-pl-dl

A youtube-dl based script to backup your Openwhyd playlists.

Scripts

  • 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.

Features

  • Playlist and track order is maintained using numbered prefixes
  • Failed downloads (e.g. deezer tracks, and deleted/broken links) are logged into a file

Dependencies

  • 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).

Sample usage

./openwhyd-pl-dl.sh https://openwhyd.org/adrien

About

A youtube-dl based script to backup your Openwhyd playlists.


Languages

Language:Shell 98.0%Language:Dockerfile 2.0%