Podcast download problem

Vangelis forthnet northmedia1 at the.forthnet.gr
Fri May 29 14:51:32 PDT 2015

On Fri May 29 17:44:12 PDT 2015, Arthur Murray wrote:

> pid: p02sgk0l
> Trying to get this in get_iplayer,
> Is there a way to get get_iplayer to download
> the working link to the MP3?

Hello, Arthur :-)

In all fairness, this may be a bug with get_iplayer,
caused by recent BBC changes.
First, this is not a typical podcast;
on http://www.bbc.co.uk/podcasts/radio4
most have download URLs of the form:
e.g. for "Thought For The Day" May 29th it's:
GiP is best tailored to handle this type of podcasts.
However, lately another type of podcast has emerged,
like the one you're having trouble with and like "Home Front"
in which every episode is assigned a pid; GiP can't apparently
process those "podcast" pids.

Concentrating on your offending podcast,
its programme page is
hence, as you said, pid=p02sgk0l
by loading:
you'll find that vpid=p02sgk0w

At least on my setup, I'm finding that:

get_iplayer-292.pl --type=radio --pid=p02sgk0l --modes=flashaac --tag-podcast-radio 

works (from my Greek IP) ands yields an M4A file of your show.
So does

get_iplayer-292.pl --type=radio --pid=p02sgk0l --modes=hlsaac --tag-podcast-radio 

If you're not in the UK currently, please disable any geo-spoofing methods
you are using (if any), like "Smart DNS" services or proxy servers.
The HLS URL you've posted
is of the UK (HLS) CDN, this hostname (cp143012-i.akamaihd.net)
is geo-blocked and won't connect from a non-UK IP.
But the podcast file IS AVAILABLE worldwide, it should
download via rtmp/hls from your overseas location!
(FWIW, the file downloads over AppleHLS via the international
version of the Akamai (HLS) CDN, "cp312012-vh.akamaihd.net")

 Now, GiP in its current incarnation can't download via PID the MP3 version 
on the programme's page; if you examine (but not click) the link,
you'll see that it uses the mediaselector/5 API URL with a new mediaset 


This new mediaset=audio-nondrm-download
is not hardcoded into the GiP script, so it can't generate
that download link from a given "podcast" pid...

1. Build or refresh the podcast cache by running:
get_iplayer --type=podcast -f --force
(takes a little while)
2. get_iplayer --type=podcast "Documentary of the Week Podcast"

returns (5 results in total):

210194: Documentary of the Week Podcast - My Head, Fri, 29 May 2015 15:30:00 
00, BBC Radio 4, News & Politics

3. get_iplayer --type=podcast 210194 -g

C:\Program Files\get_iplayer>get_iplayer --type=podcast 210194 -g
get_iplayer v2.90-45-g16b0c40, Copyright (C) 2008-2010 Phil Lewis
  This program comes with ABSOLUTELY NO WARRANTY; for details 
use --warranty.
  This is free software, and you are welcome to redistribute it under 
  conditions; use --conditions for details.

210194: Documentary of the Week Podcast - My Head, Fri, 29 May 2015 15:30:00 
00, BBC Radio 4, News & Politics

INFO: 1 Matching Programmes
INFO: Checking existence of default version
INFO: podcast modes will be tried for version default
INFO: Trying podcast mode to record podcast: Documentary of the Week 
Podcast - M
y Head
INFO: File name prefix = Documentary_of_the_Week_Podcast_-_My_Head_p02sgk0w

INFO: Recorded 26.10MB in 00:00:16 at 13363kbps to D:\Vangelis\iPlayer 

INFO: Downloaded Thumbnail to 'D:\Vangelis\iPlayer 
INFO: ID3 tagging MP3 file

Hope I've helped!

More information about the get_iplayer mailing list