Radiohead Public Library Experiments
- Mac OS ✓
- Ubuntu ✓
- Windows ? (please adapt it and push a PR)
- curl (probably already present in your system)
- jq (probably already present in your system)
- youtube-dl (make sure you have the latest version, running
youtube-dl -U
)
-
Install the dependencies above
-
Pull this repo or get both bash scripts
-
Make both scripts executable:
a.
chmod +x get.sh
b.
chmod +x process.sh
Run get.sh
, and then process.sh
:
./get.sh
(gets video info. from the Radiohead site)./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.
The videos will be downloaded to the ./video/
subdirectory in either the directory given by you
or the current working directory.