Choose style:

Author Topic: Using get_iplayer to download BBC iPlayer content - beginner's guide & tutorial  (Read 1519 times)

0 Members and 1 Guest are viewing this topic.

Offline mattosensei

  • Member
  • ***
  • Posts: 222
  • Karma: 28
  • Linux with 'L' plates
    • View Profile
  • Peppermint version(s): 6
Skill level: Beginner

Background:
this guide is aimed at those domiciled in the UK / BBC license-fee payers only, as a guide to download content. Most people have a set-top box and can save anything they watch or listen to on the BBC, and play back whenever, even years later. However, you can't (easily) transfer content to other devices from a set-top box. The alternative is to use the website/service BBC iPlayer, but due to rights issues, content is usually taken down 30 days after being aired. For a lot of content (e.g. Glastonbury sets shown just after performances) you may have only a few days to watch content before it expires. Being able to save content to your computer allows you to playback at your convenience.

Disclaimer: this guide is not about 'circumventing' BBC content restrictions via proxies, etc. Nor is there anything illegal about saving content direct to your hard-drive rather than set-top box. This guide is only aimed at those domiciled in the UK and who therefore have normal access to BBC iPlayer (this is not available outside UK). get_iplayer does not circumvent DRM and is perfectly legal to use.

Software: get_iplayer

Author's page: https://squarepenguin.co.uk/

This is a great piece of software for saving BBC content. I use the command line interface (CLI) although there is also a PVR (web-based) GUI interface that you can use. However, I've found it easier to just use the terminal.

Instructions:

Download the software. You can download from the repos. However, I prefer to download from the author's site, as per his notes:

Quote
"Linux/Unix packages are maintained by volunteers and may not be updated for some time after a new release of get_iplayer, thus the version of get_iplayer packaged for your system may be obsolete."

When I have downloaded from the repos in the past it has always been several versions behind, so I always download from the author PPA. As ever downloading from an author PPA, you do so at your own risk. Personally I have had no problems over the years and trust this source.

To add the PPA repository:

Code: [Select]
sudo apt-add-repository ppa:jon-hedgerows/get-iplayer
Ensure package database is current:

Code: [Select]
sudo apt-get update
Install get_iplayer from PPA with dependencies:

Code: [Select]
sudo apt-get install get-iplayer
Downloading content with get_iplayer

Right, surf over to http://www.bbc.co.uk/iplayer using your browser of choice and decide what you want to download. Example here is the brand new (ostensibly for children  :D) episode of The Clangers. You have 29 days left to watch 'online', but you want to save and watch at a later date, and or transfer to tablet/phone. Therefore you would like to download it to your computer as an MP4, rather than only have it on your set-top box.

Note the unique alphanumeric in the title (click for larger):



In this case it is: b05zh5dp

Open a terminal using CTRL+ALT+T and at the prompt type:

Code: [Select]
get_iplayer --pid b05zh5dp
That's it. It will start downloading the file and convert once it has finished.

Downloading...


Converting...


You now have a high-qual mp4 file to view on any device:



Further instructions and info on the author's informative site if you need it:
https://squarepenguin.co.uk/

There are lots of tweaks you can make should you want to (lower quality download, etc, etc).

get_iplayer is a great tool for being able to save BBC content in high quality and to play back in your own time on the device you want.

Enjoy  :)

PS This is my first tutorial - all feedback welcome  ;)
« Last Edit: June 16, 2015, 07:01:07 am by mattosensei »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 16151
  • Karma: 1945
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 7 Respin (64bit)
And an absolutely brilliant first tutorial it is mattosensei :)

Cheers for that .. keep em coming.

Just need to tweak it a little to convert to XviD and I'll be a happy chappy .. is there any GUI front ends for this that you know of that actually work ?
(I'm fine in the CLI, just wondered)

I never knew you could dig the number out of the URL .. I thought you had to do a text search in the terminal .. very handy tip :)
« Last Edit: June 16, 2015, 12:01:59 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Slim.Fatz

  • Trusted User
  • Veteran
  • *****
  • Posts: 1277
  • Karma: 343
  • Where's the mouse?
    • View Profile
  • Peppermint version(s): Peppermint 7 & 8 - 64bit
Nice work, mattosensei!!   8)


I like the way you organized it and gave an indication of the skill level required. I'll probably go back to my tutorials and add something similar to them!  ;)


Regards,


-- Slim

"Life first -- Peppermint a close 2nd!" -- Zeb

Tread lightly: Fluxbox, awesome, Openbox, i3, JWM

Offline mattosensei

  • Member
  • ***
  • Posts: 222
  • Karma: 28
  • Linux with 'L' plates
    • View Profile
  • Peppermint version(s): 6
Thanks for the feedback guys  :D