My bat_iplayer script now has a problem.

Jon Davies jon at hedgerows.org.uk
Thu Jun 4 01:47:34 PDT 2015


On 3 June 2015 at 21:34, batguano999 <batguano999 at zoho.com> wrote:
> Any suggestions how to modify my script (near line 25) to show a descriptive title again ?

It's a bit clunky, but this should work:

TITLE=$(wget --quiet -O - http://www.bbc.co.uk/programmes/$PID.rdf |
grep "<dc:title>" | sed -re "s/ *<dc:title>(.*?)<\/dc:title>/\1/")

Jon



More information about the get_iplayer mailing list