Giter Site home page Giter Site logo

ishock / get_iplayer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from get-iplayer/get_iplayer

1.0 2.0 0.0 6.84 MB

A utility for downloading TV and radio from BBC iPlayer

Home Page: https://github.com/get-iplayer/get_iplayer/wiki

License: GNU General Public License v3.0

Makefile 0.19% Perl 85.25% Groff 3.75% HTML 1.47% Shell 0.42% Batchfile 2.59% NSIS 6.32%

get_iplayer's Introduction

get_iplayer: BBC iPlayer Indexing Tool and PVR

Features

  • Downloads MP4 streams from BBC iPlayer site with better quality than Flash player streams
  • Downloads Flash AAC/MP3 and WMA streams for radio programmes
  • Allow multiple programmes to be downloaded using a single command
  • Indexing of all available iPlayer programs
  • Caching of Index (default 4h)
  • Regex search on programme name
  • Regex search on programme description and episode title
  • PVR capability (may be used from crontab)
  • Full HTTP Proxy support
  • Runs on Linux (Debian, Ubuntu, openSUSE and many others), OS X (10.5+) and Windows (XP/Vista/7/8)
  • Requires perl 5.8.8+ with LWP module

NOTE: get_iplayer can only search programmes broadcast within the previous 7 days, even if they are available for 30 days on the iPlayer web site. See FAQ #1.

Documentation

https://github.com/get-iplayer/get_iplayer/wiki

Support

https://github.com/get-iplayer/get_iplayer/wiki/help

Installation (Linux/Unix/OS X)

  • Download latest release:

    https://raw.github.com/get-iplayer/get_iplayer/latest/get_iplayer

  • After downloading the script make it executable:

    chmod 755 ./get_iplayer

    The script may optionally be installed to a location in PATH.

  • You can set the default download directory by putting the following in your shell environment (e.g. ~/.bashrc):

    export IPLAYER_OUTDIR="/path/to/my/output/dir"

  • The first time you run the script it will create a settings directory (~/.get_iplayer) and download plugins. It will then access the BBC website and create an index of all TV programmes currently on iPlayer.

Installation (Windows)

See documentation for Windows installation information.

Usage

get_iplayer --help
get_iplayer --basic-help
get_iplayer --long-help

Examples

  • List all TV programmes (--type=tv set by default):

    get_iplayer

    Search output appears in this format:

      ...
      208:  Doctor Who: Series 7 Part 2 - 1. The Bells of Saint John, BBC One, Drama,SciFi & Fantasy,TV, default
      209:  Doctor Who: Series 7 Part 2 - 2. The Rings Of Akhaten, BBC One, Audio Described,Drama,SciFi & Fantasy,TV, default,audiodescribed
      210:  Doctor Who: Series 7 Part 2 - 3. Cold War, BBC One, Audio Described,Drama,SciFi & Fantasy,TV, default,audiodescribed
      ...
    

    Format = index: name - episode, channel, categories, versions

  • List all TV programmes with long descriptions:

    get_iplayer --long

  • List all radio programmes:

    get_iplayer --type=radio

  • List all TV programmes with "doctor who" in the title/episode:

    get_iplayer "doctor who"

  • List all TV and radio programmes with "doctor who" in the title/episode:

    get_iplayer --type tv,radio "doctor who"

  • List all TV programmes categorised as "comedy":

    get_iplayer --category=comedy

  • List all BBC One TV programmes categorised as "sport":

    get_iplayer --channel= "BBC One" --category=sport

  • List all Radio 4 Extra programmes categorised as "drama":

    get_iplayer --type=radio --channel "Radio 4 Extra" --category=drama

  • Record programme number 208 (index from search results) in SD:

    get_iplayer --get 208

  • Record programme number 208 in HD (if available), with SD fallback:

    get_iplayer --modes=best --get 208

  • Record programme number 208 and download subtitles in SubRip (SRT) format:

    get_iplayer --get 208 --subtitles

  • Record all TV programmes with "doctor who' in the title/episode:

    get_iplayer --get "doctor who"

  • Record a programme using its iPlayer URL:

    get_iplayer http://www.bbc.co.uk/iplayer/episode/b01sc0wf/Doctors_Series_15_Perfect/

  • Record a programme using the PID (b01sc0wf) from its iPlayer URL:

    get_iplayer --pid=b01sc0wf

  • Refresh the cached index of available TV programmes:

    get_iplayer --refresh

  • Refresh the cached index of available TV and radio programmes:

    get_iplayer --type=tv,radio --refresh

Notes:

  • Sometimes you may not be able to download a listed programme immediately after broadcast (usually available within 24hrs of airing). Some BBC programmes may not be available from iPlayer.

get_iplayer's People

Contributors

dinkypumpkin avatar dwmw2 avatar jon-hedgerows avatar henderhobbit avatar jcsteh avatar mikecrowe avatar sthen avatar willemw12 avatar vangelis66 avatar steven676 avatar boudiccas avatar ralfbaechle avatar filcole avatar minty avatar mfleetwo avatar ligne avatar marginal avatar trailtacos avatar caius avatar elwell avatar

Stargazers

ishock avatar

Watchers

James Cloos avatar ishock avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.