Fixing the get_iplayer script.

The get_iplayer script has a problem, it hasn’t been updated since the BBC have moved the iPlayer flash player file on their website. Without going in to the details, adequately covered here, here’s a fix:
Edit the script with your system text editor:
gedit /usr/bin/get_iplayer
Look at or near line 5827 where it has:
swfurl =>
And change it to point to the new URL of the player. The current location of the player is easy to find. A web browser will correctly follow the 301 “Moved Permanently” response to trying to HTTP GET this URL:

This works in Ubuntu 11.04 Natty Narwal, I installed the get_iplayer script manually rather than using Synaptic. I think it will work in the same way if you have installed get_iplayer using Synaptic.
Please be sensible and don’t use it to download everything, be specfic about the programmes you want. Be sensible about not abusing the spirit of the iPlayer service – by deleting programmes after watching them.



2 Responses to “Fixing the get_iplayer script.”

  1. barrowbiker Says:

    The line now needs to be:

  2. barrowbiker Says:

    There is a better way to fix this, issue the command:

    get_iplayer --prefs-add --rtmp-tv-opts="--swfVfy="

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: