An open API service indexing awesome lists of open source software.

https://github.com/adrienjoly/openwhyd-pl-dl

A youtube-dl based script to backup your Openwhyd playlists.
https://github.com/adrienjoly/openwhyd-pl-dl

backup bash-script downloader mp3-files music-downloader openwhyd youtube youtube-dl

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

# openwhyd-pl-dl

A youtube-dl based script to backup your [Openwhyd](http://openwhyd.org) playlists.

## Scripts

- `openwhyd-pl-dl.sh ` downloads all the tracks of all playlists of an Openwhyd profile, as MP3 files.
- `openwhyd-dl.sh ` downloads all the tracks of an Openwhyd playlist, as MP3 files.
- `openwhyd-pl-dl-json.sh ` 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](rg3.github.io/youtube-dl/), python program to download videos from YouTube.com and a few more sites
- [ffmpeg](https://ffmpeg.org/), to convert files to mp3 format, instead of m4a
- [curl](https://curl.haxx.se/), command line tool for transferring data with URLs
- [jq](https://stedolan.github.io/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](https://github.com/adrienjoly/openwhyd-pl-dl/actions)).

## Sample usage

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