Steam radio...

Nick get_iplayer at i.lucanops.net
Sun Mar 17 09:32:36 PDT 2019


On Sun, 17 Mar 2019 14:08:32 +0000 (GMT)
Jim web <web at audiomisc.co.uk> wrote:
> I'll experiment a bit more, then abandon this if I get no-where. I
> can live without the relevant files. I was just curious about the
> 'radio' ones in particular.
> 
> Either way: thanks to everyone for the help/ideas.
> 
> Jim
> 

I got all the video files in one go with this lengthy, but one
line command:

wget -qO- http://www.bbc.co.uk/archive/steamtrains/ | grep '<a
class="more_video" href="/archive/steamtrains/[0-9]*\.shtml' | sed -e
's at .*\(/archive/steamtrains/[0-9]*\.shtml\).*@http://www.bbc.co.uk\1@'
| sort | uniq | xargs -L1 get_iplayer.294


This got the audio files. The difference being a class in the HTML that
grep looks for. And gip needed an extra clue about what it was
downloading.

wget -qO- http://www.bbc.co.uk/archive/steamtrains/ | grep 'more_home"
href="/archive/steamtrains/[0-9]*\.shtml' | sed -e
's at .*\(/archive/steamtrains/[0-9]*\.shtml\).*@http://www.bbc.co.uk\1@'
| sort | uniq | xargs -L1 get_iplayer.294 --type radio
--modes=flashaudio1

The audio is a total of 67.2MB, if you're still stuck shall I just email
the files to you?

Nick



More information about the get_iplayer mailing list