網站搜尋

在 Ubuntu 22.04 中安裝 get-iplayer 下載 BBC 電視節目 | 20.04


這個簡單的教學展示如何安裝 get-iplayer 並使用它從 BBC iPlayer/BBC Sounds 下載電視和廣播節目以供離線播放。

get-iplayer 是一款適用於 Windows、macOS 和 Linux 的免費開源應用程式。有了它,您可以搜尋和下載您喜愛的 BBC 電視/廣播節目。然後在 30 天內在當地合法玩遊戲。

注意:出於法律原因,您需要電視許可證才能下載 BBC 電視/廣播節目!而且,您必須在合法遊戲 30 天後刪除它們!

在 Ubuntu/Linux Mint 中安裝 get-iplayer

專案發布頁面提供Windows和macOS安裝程式。對於 Ubuntu 及其基礎系統,它指的是 PPA 儲存庫,目前支援 Ubuntu 16.04、Ubuntu 18.04、Ubuntu 20.04、Ubuntu 22.04 和 Ubuntu 22.10。

1. 首先,按鍵盤上的 Ctrl+Alt+T 開啟終端機。打開後,運行命令添加 PPA:

sudo add-apt-repository ppa:m-grant-prg/utils

在詢問時輸入使用者密碼(無星號回饋),然後按 Enter 繼續。

2. 然後,執行命令安裝應用程式套件:

sudo apt install get-iplayer

對於舊版 Ubuntu 和 Linux Mint,請先執行 sudo apt update 來刷新套件快取。

使用 get-iplayer 下載電視節目

這是一個命令列工具!安裝後,隨時在終端機中執行以下命令來搜尋和/或下載您喜歡的節目。

  • 若要搜尋某些內容,請使用指令:

    get_iplayer 'keyword here'

    注意:get_iplayer 只能搜尋預定在前 30 天內在 BBC 線性服務上播出的節目!存在超過30天的可以直接透過PID或URL下載

  • 要開始下載程序,請使用命令:

    get_iplayer --get NUMBER_HERE

    將 NUMBER_HERE 替換為搜尋結果中的號碼。並且,您可以透過多個號碼同時下載更多程式。例如:

    get_player --get 2708 3501 3680
  • 您也可以直接透過URL位址下載,例如:

    get_iplayer https://www.bbc.co.uk/programmes/b04n9p9c
  • 或使用PID,通常是URL位址中的隨機字元:

    get_iplayer --pid b04n9p9c

    此外,它還支援透過多個PID下載:get_iplayer --pid id1 id2 id3 ...

該工具還有許多其他命令列選項,請在終端機中執行 man get_iplayer 以了解更多資訊。

解除安裝 get-iplayer

若要從 Ubuntu/Linux Mint 中刪除 get-iplayer,請開啟終端機並執行命令:

sudo apt remove --autoremove get-iplayer

另外,透過執行命令刪除 Ubuntu PPA 儲存庫:

sudo add-apt-repository --remove ppa:m-grant-prg/utils

就這樣。享受!

相關文章