Shell script to get PIDs from schedules

Chris Allison chris.charles.allison at gmail.com
Sun Nov 2 01:52:09 PDT 2014


Sorry, google switched back to html without me noticing, resending this.

Peter,

some good ideas there, but there is no need to scrape the web pages
when all the schedule info you could possibly need is available in
xml, json and yaml files at urls of this form:

www.bbc.co.uk/radio4/programmes/schedules/fm/this_week.json
www.bbc.co.uk/radio4extra/programmes/schedules/2014/11/1.json
www.bbc.co.uk/bbcfour/programmes/schedules/last_week.json

etc.

see this page for further info:
http://www.bbc.co.uk/blogs/legacy/radiolabs/2008/05/helping_machines_play_with_pro.shtml

the :outlet part is 'fm' for radio4, 'england' for bbcone and two and
not needed for radio 4 extra/bbc four etc.

hope this helps.

Chris

On 1 November 2014 14:39, Peter Scott <p.scott at shu.ac.uk> wrote:
> Apologies if this arrives twice -- I forgot to send it as plain text the first
> time.
>
> I rarely used get_iplayer's searches and I only use Linux and the
> command line. I have a script to get the PIDs from the radio4 schedule;
> I have modified it to do TV too. It is very crude but someone may find it
> useful. You can get it here:
> http://www.apxd65.dsl.pipex.com/freeScripts/#getPids
> (It is not polished enough for my github page.)
> --
> email: p.scott at shu.ac.uk
> website: http://peterscott.eu
> NB: My mobile is a "not at home" phone; I don't hear or see it at home.
>
> _______________________________________________
> get_iplayer mailing list
> get_iplayer at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/get_iplayer



-- 
 _          o  ,   ,
/   |  |  |_| / \_/ \_|  |
\__/ \/ \/  |/ \/  \/  \/|/
                        (|



More information about the get_iplayer mailing list