Refactoring iplayer-dl
Using Windows? There’s now an easy graphical downloader.
I’ve done a bit of work on refactoring iplayer-dl
,
with two aims in mind:
- Improving the JavaScript parsing that determines available versions
- Making the code easier to repurpose and integrate into GUIs etc.
The most important result of this work is that it’s no longer a
standalone script. This shouldn’t necessarily make it harder to
use, though. Once you’ve unpacked the code, you’ll need to run the
following commands in the iplayer-dl
directory to
install the libraries and command-line tool:
ruby setup.rb config sudo ruby setup.rb install
You can omit sudo
on Windows, I think; some Linuxes
might require you to use su
instead.
The iplayer-dl
command should be installed
somewhere in your path, and you’ll be able to use it from anywhere
just by typing its name.
The tarball conforms to the Debian packaging guidelines for Ruby
applications, incidentally, so it should be straightforward to make
a .deb
for Ubuntu/Debian, or even a port for
MacPorts.
You can download a snapshot, or check out the latest version:
svn co http://paulbattley.googlecode.com/svn/iplayer-dl
If you’re reporting a bug, please also write the URL or PID of the programme you were trying to download.