命令行工具+媒体下载+高效配置:Get_iPlayer跨平台使用指南
2026/8/9 19:35:46 网站建设 项目流程

命令行工具+媒体下载+高效配置:Get_iPlayer跨平台使用指南

【免费下载链接】get_iplayerA utility for downloading TV and radio programmes from BBC iPlayer and BBC Sounds项目地址: https://gitcode.com/gh_mirrors/ge/get_iplayer

解锁核心功能:如何让工具更懂你的使用习惯?

Get_iPlayer是一款专为BBC iPlayer和BBC Sounds设计的命令行媒体下载工具,支持TV和广播节目的搜索、下载与批量处理。它通过智能索引缓存机制,可快速定位过去30天内播出的节目,并提供自定义参数控制下载质量、格式及存储路径。作为跨平台解决方案,它能在Linux、macOS和Windows系统中稳定运行,尤其适合需要批量处理媒体内容的用户。

核心功能三板斧

  1. 全量内容索引:自动抓取BBC线性频道30天内节目数据,支持TV/广播双类型内容检索
  2. 智能搜索过滤:通过正则表达式匹配节目名称、描述及频道信息,支持多条件组合筛选
  3. 自定义下载控制:从分辨率选择到字幕下载,从代理设置到PVR定时任务,满足个性化需求

功能-文件对应速查表

核心功能实现路径使用建议
主程序入口get_iplayer直接执行获取帮助信息:perl get_iplayer --help
命令文档get_iplayer.1查看完整参数说明:man ./get_iplayer.1
配置管理用户主目录.get_iplayer_prefs通过--prefs-add添加默认下载路径等配置
Web界面get_iplayer.cgi部署后通过浏览器管理下载任务

3步完成部署:如何快速上手这款媒体工具?

🔥 环境准备

确保系统已安装Perl 5.16+及依赖模块:

# Ubuntu/Debian sudo apt install perl libwww-perl liblwp-protocol-https-perl libxml-libxml-perl libmojolicious-perl ffmpeg # macOS (使用Homebrew) brew install perl ffmpeg atomicparsley cpanm LWP LWP::Protocol::https XML::LibXML Mojolicious

🔥 项目获取

git clone https://gitcode.com/gh_mirrors/ge/get_iplayer cd get_iplayer chmod +x get_iplayer

🔥 基础验证

# 查看所有TV节目 perl get_iplayer ".*" # 搜索"Doctor Who"并下载第1个结果 perl get_iplayer --get 1 "doctor who"

深度配置:如何打造专属的媒体下载工作站?

配置项优化指南

配置项默认值推荐值高级选项
下载路径当前目录~/Media/iPlayer--output "/path/to/folder"
TV质量hd,sd,web,mobilefhd,hd,sd--tv-quality fhd,hd
广播质量high,std,med,lowhigh,std--radio-quality high
字幕下载禁用启用--subtitles
代理设置根据网络环境配置--proxy http://user:pass@proxy:port

💡 小贴士:个性化配置文件

在用户主目录创建.get_iplayer_prefs永久保存偏好设置:

download_path = "/home/user/Media/iPlayer" subtitles = 1 tv_quality = "fhd,hd,sd" radio_quality = "high,std"

常见任务流程图

问题排查:如何解决90%的常见使用障碍?

网络连接问题

  • 代理配置:使用--proxy参数指定HTTP代理,解决地域限制
  • 连接超时:通过--attempts 5增加重试次数,应对不稳定网络

格式转换失败

确保ffmpeg已正确安装且版本≥3.0:

ffmpeg -version # 验证版本信息

节目无法找到

  • 确认节目在BBC iPlayer/Sounds网站可访问
  • 使用PID直接下载:perl get_iplayer --pid=节目PID

高级技巧:释放工具全部潜能

批量下载管理

# 同时下载多个节目PID perl get_iplayer --pid=pid1,pid2,pid3 # 按频道批量下载 perl get_iplayer --channel "BBC Two" ".*" --get

PVR定时任务

# 添加每日20:00的自动录制任务 crontab -e # 添加: 0 20 * * * cd /path/to/get_iplayer && perl get_iplayer --pvr

自定义输出文件名

perl get_iplayer --file-prefix "<name>_<pid>_<date>" --get 123

通过以上配置与技巧,Get_iPlayer将成为你高效管理BBC媒体内容的得力助手。无论是日常追剧还是批量存档,这款工具都能通过灵活的参数配置满足多样化需求。更多高级功能请参考项目Wiki文档,持续探索自定义参数的组合可能性。

【免费下载链接】get_iplayerA utility for downloading TV and radio programmes from BBC iPlayer and BBC Sounds项目地址: https://gitcode.com/gh_mirrors/ge/get_iplayer

创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考

需要专业的网站建设服务?

联系我们获取免费的网站建设咨询和方案报价,让我们帮助您实现业务目标

立即咨询