Howto: Download MP4 from BBC iPlayer
With the launch of BBC iPlayer for iPhones it seems they’ve let slip a little extra “feature”. You can now download programs from BBC iPlayer without DRM in a well encoded MP4 format. How? Easy.
First of all, install User Agent Switch for Firefox and setup the iPhone user-agent:
- Description: iPhone
- User Agent: Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en)
- App Name: AppleWebKit/420+ (KHTML, like Gecko)
- App Version: Version/3.0
- Platform: Mobile/1A542a Safari/419.3
Now browse to any BBC iPlayer program page and you’ll notice that it tries to serve up a Quicktime video, the MP4. As the URL isn’t displayed raw in the code, you can use a little Javascript wizardry to redirect you to the raw stream:
javascript:(function(){url = document.getElementById('mip-flash-player').getElementsByTagName("object")[0].childNodes[0].value; window.location = url;})()
Or if you want a simple drag and drop bookmarklet: iPlayer Download
The BBC will either pull the iPhone beta or re-engineer it with the iPhone SDK to develop a full client, either way this will not last long. Initally when I heard the iPhone was supported by iPlayer I was outraged, Why does a device with only around 100,000 users in the UK get priority over a operating system? It almost seems like Karma is against them, but no doubt this will get into the news as “hackers exploiting the system” rubbish. Only time will tell, enjoy it while you can.

In firefox, I get a square popup saying that I need additional plugins to display all media, and i click download plugins and it does the normal dialog but comes up with “Unknown Plugin (text/html)”
What can I do to fix this?
Andy
24 Oct 08 at 11:10 am
Impressive JS skills.
You may like to look at get_iplayer. Either for the catalogue/ index or when the changes you’ve predicted come true.
http://linuxcentre.net/getiplayer/
Robsteranium
27 Apr 09 at 2:00 pm
Hi hi. I’m french. Your post can interest lot of people in France. So, if you permiss, i can copy the subject on a french blog.
Franck
6 Jan 10 at 9:57 pm