beebget is a command-line tool for downloading BBC radio programs that are available via iPlayer to OGG/Vorbis format. It works in a subscription-based manner, similar to podcast clients. Each time it is run, new episodes of your subscribed programs are automatically downloaded.
Beebget should (in principle) work on any UNIX-like system with the following software:
Download and unpack beebget, probably to a location in $PATH. To subscribe to some programs, first list available services:
beebget --list-servicesThen list the available programs for your chosen service:
beebget --list-programs serviceidThe serviceid is the short identifier shown in square brackets in the services list (e.g. radio4). To subscribe to a program, run
beebget --add-sub programidAgain, the programid is the part in square brackets from the program list (e.g. b006qnwb). Repeat for each program you are interested in. Now, to see what beebget wants to do, run:
beebget --statusThis will output a list of programs and/or episodes, and the status of each. Some of the important status tags are:
beebget --download-allOtherwise, you can get more information on each episode, and interactively select those you want to download, with:
beebget --interactiveThe file download path can be configured in beebget's config file, by default at ~/.beebget/config.
Usage: beebget [options]
Options:
-h, --help show this help message and exit
-A, --download-all download new episodes of subscribed programs
-I, --interactive interactively download new episodes
-s, --status display status of subscribed programs
--add-subs=PROGID subscribe to program PROGID
--list-subs list subscribed programs
--list-services list available services
--list-programs=SERVICE
list programs currently available on SERVICE
--list-episodes=PROGID
list available episodes of program PROGID
--config=FILE path to configuration file
-D, --debug increase debug level
--drop-cache drop url cache
-f, --force don't prompt
-q, --quiet minimal output
-V, --version print version