SRF.ch EN
käspi · Firefox
A Firefox extension to extract the URLs of video- and audio-files on the Swiss national radio and television webpage (www.srf.ch and www.rsi.ch).
截图
简介
SRF.ch
======
This extension simply extracts the URLs of the video- and audio-files on the SRF (Schweizer Radio und Fernsehen, Swiss german national television and radio) and the predecessor webpage www.sf.tv, and the RSI (Radiotelevisione Svizzera, Swiss italian national television and radio) webpage. The URLs are displayed partly after a right-click on a video or audio link on www.srf.ch and www.rsi.ch. On www.srf.ch video player pages there's additionally a link introduced just above the Flash player area which allows a right-click. They appear under the 'SRF URLs' context-menu entry. Sometimes it takes a few moments to extract the URLs.
Some of the content on the webpage is geo-blocked. This means that the URLs can't be extracted. After some timeout an empty context menu entry results. Other content is time blocked, meaning that the media file is only available over a fixed time-window. This is particularly the case for Tatort, Spielfilm and DOK videos. But those videos are only blocked on the SRF.ch webpage, but not on the RTMP streaming server. Therefore this add-on tries to guess the URLs of blocked videos of these types. All URLs which have been guessed are indicated with a leading asterisk (*). Their download might fail...
Starting with version 1.1.5 the add-on extracts the URLs of the M3U playlists. These entries show up with their M3U description in the context menu rather than the RTMP URL like the other entries. They can be helpful because M3U playlists are often available even if the stream is geo- or time-blocked. A windows shell script for downloading a video file available as M3U playlist is given further below.
Instruction on how to use the extracted URLs (with Open Source software, for links see below):
The media files can (only?) be transfered via the RTMP protocol. Flash players have it included, as well as the players on the web-page of SRF - of course. Nevertheless the files can be downloaded with the FLVstreamer software (see details below). Shell scripts for the download on Linux and Windows can found further below. Note that for videos which seem to be available as medium and low quality, i.e. "MQ" and "LQ", you could try to download the file in high quality as well. Just replace "mq1" or "lq1" in the URL by "hq1".
Media files for which M3U playlists are available can be directly played with VLC or any other player understanding the M3U format. To download such files on Windows there's a VB script below to do so. Any implementation for other operating systems or any improvements for the scripts are highly appreciated! Furthermore, avconv is very useful to download any kind of stream, using the following command
avconv -i <url> -codec copy <outputfile> (thanks to flip)
The downloaded files can be played with
* Video:
most (if not all!?) video files are of the format H264 with MPEG AAC audio. They can be viewed with the VLC player.
* Audio:
the audio files are of MPEG audio format (not mp3!). They can also be played with VLC.
Helpful software:
VLC player - http://www.videolan.org/vlc
FLVstreamer - http://www.nongnu.org/flvstreamer
avconv - http://www.libav.org/avconv.html
Thanks to a hint from a user, the following command could be used to download an M3U file on Linux:
wget -qO - `wget -qO - <url>`
Or - as said above - using avconv:
avconv -i <url> -codec copy <outputfile>
-Kaspar Giger <sftv@kgmw.ch>
SRF.ch 是做什么的
SRF.ch 是一款面向 Firefox 的下载管理类扩展,主要用来接管浏览器下载、批量抓取资源、加速大文件。官方对它的介绍是:A Firefox extension to extract the URLs of video- and audio-files on the Swiss national radio and television webpage (www.srf.ch and www.rsi.ch).在Firefox 附加组件商店(AMO)上,它当前版本 2.0.4,评分 5(5 人评价),约 210 名用户。
适合什么人用
从功能定位看,SRF.ch 更适合经常下载视频、素材或整站资源的用户。如果你平时只是偶尔遇到相关需求,用浏览器自带功能也能凑合;但如果这件事每天都发生,装一个专门处理它的扩展通常比手动操作省事得多。
怎么安装 SRF.ch
- 打开Firefox 附加组件商店(AMO)上的官方页面;
- 点「添加到浏览器」并确认权限提示;
- 装好后在扩展列表里固定图标,方便随时开关。
本站只做索引与介绍,安装包来自官方商店。如果商店页面提示当前地区不可用,说明该扩展未在你所在区域上架。
常见问题
SRF.ch 是免费的吗?
SRF.ch 在Firefox 附加组件商店(AMO)免费提供下载。它是浏览器扩展,装上就能直接用,不需要注册账号。
SRF.ch 安全吗?
它只申请了 0 项权限,范围比较克制,没有申请「读取所有网站数据」这种大权限。
SRF.ch 支持哪些浏览器?
当前收录的版本来自Firefox 附加组件商店(AMO),适用于 Firefox。同一个扩展在其他商店可能有对应版本,但功能与版本号不一定相同。
怎么卸载 SRF.ch?
在扩展管理页找到 SRF.ch,点移除即可。它在本地保存的设置会一起清掉,不会残留数据。
权限清单 来自 manifest.json 原文
接口权限 1
contextMenus


