/rhlib

Radiohead Public Library Experiments

Primary LanguageHTMLMIT LicenseMIT

rhlib

Radiohead Public Library Experiments


Experiment 1: Download all videos

Works on

  1. Mac OS ✓
  2. Ubuntu ✓
  3. Windows ? (please adapt it and push a PR)

Dependencies

  1. curl (probably already present in your system)
  2. jq (probably already present in your system)
  3. youtube-dl (make sure you have the latest version, running youtube-dl -U)

Installation

  1. Install the dependencies above

  2. Pull this repo or get both bash scripts

  3. Make both scripts executable:

    a. chmod +x get.sh

    b. chmod +x process.sh

Usage

Run get.sh, and then process.sh:

  1. ./get.sh (gets video info. from the Radiohead site)
  2. ./process.sh (downloads the videos from Vimeo and Youtube)

You may provide a directory name as positional argument, e.g. ./get.sh ~/Downloads and ./process.sh ~/Downloads. Make sure that the directory provided to process.sh contains a json/ subdirectory with the files previously downloaded by get.sh. If you do not provide a directory name, both scripts will use the current working directory.

Results

The videos will be downloaded to the ./video/ subdirectory in either the directory given by you or the current working directory.


Experiment 2: Browse all concerts on a map

https://www.rhlib.com