我的当地电视台提供录制纪录片的流媒体视频,使用带有扩展名的类似 XML 的文件.asx
。
有没有办法(最好是 Ubuntu CLI)来下载该文件?
谢谢,
亚当
PS-文件内容:
<asx version="3.0">
<!-- GMX -->
<param name="encoding" value="utf-8" />
<title>CastUP: V0109-msheni-Hayim_Hefer-120510 </title>
<MOREINFO HREF = "" />
<PARAM NAME="Prebuffer" VALUE="true" />
<entry>
<ref href="http://s3awm.castup.net/server12/31/176/17607833-61.wmv?ct=IL&rg=BZ&aid=31&ts=0&cu=91A297E2-5359-416A-912B-2D9BC106E491" />
<ref href="http://s0dwm.castup.net/server12/31/176/17607833-61.wmv?ct=IL&rg=BZ&aid=31&ts=0&cu=91A297E2-5359-416A-912B-2D9BC106E491" />
<ref href="http://s0ewm.castup.net/server12/31/176/17607833-61.wmv?ct=IL&rg=BZ&aid=31&ts=0&cu=91A297E2-5359-416A-912B-2D9BC106E491" />
<ref href="http://s0fwm.castup.net/server12/31/176/17607833-61.wmv?ct=IL&rg=BZ&aid=31&ts=0&cu=91A297E2-5359-416A-912B-2D9BC106E491" />
<ref href="http://s0gwm.castup.net/server12/31/176/17607833-61.wmv?ct=IL&rg=BZ&aid=31&ts=0&cu=91A297E2-5359-416A-912B-2D9BC106E491" />
<PARAM NAME="CanSkipBack" VALUE="No"/>
<PARAM NAME="CanSkipForward" VALUE="No"/>
<PARAM NAME="CanSeek" VALUE="No"/>
<title>mondial_2010 </title>
<PARAM NAME="Prebuffer" VALUE="true" />
<PARAM NAME="CastUP_Content_Config" VALUE="" />
</entry>
<entry>
<PARAM NAME="EntryType" VALUE="Content" />
<param name="encoding" value="utf-8" />
<PARAM NAME="CastUP_AssociatedURL" VALUE="" />
<PARAM NAME="CastUP_Content_Config" VALUE="" />
<PARAM NAME="CastUP_Content_ClipMediaID" VALUE="5382858" />
<author>iba</author>
<title>CastUP: V0109-msheni-Hayim_Hefer-120510 </title>
<PARAM NAME="Prebuffer" VALUE="true" />
<ref href="mms://s3awm.castup.net/server12/31/174/17482045-61.wmv?ct=IL&rg=BZ&aid=31&ts=0&cu=91A297E2-5359-416A-912B-2D9BC106E491" />
<ref href="mms://s0dwm.castup.net/server12/31/174/17482045-61.wmv?ct=IL&rg=BZ&aid=31&ts=0&cu=91A297E2-5359-416A-912B-2D9BC106E491" />
<ref href="mms://s0ewm.castup.net/server12/31/174/17482045-61.wmv?ct=IL&rg=BZ&aid=31&ts=0&cu=91A297E2-5359-416A-912B-2D9BC106E491" />
<ref href="mms://s0fwm.castup.net/server12/31/174/17482045-61.wmv?ct=IL&rg=BZ&aid=31&ts=0&cu=91A297E2-5359-416A-912B-2D9BC106E491" />
<ref href="mms://s0gwm.castup.net/server12/31/174/17482045-61.wmv?ct=IL&rg=BZ&aid=31&ts=0&cu=91A297E2-5359-416A-912B-2D9BC106E491" />
</entry>
</asx>
答案1
安装mimms
然后您就可以下载流,例如:
mimms 'mms://s3awm.castup.net/server12/31/174/17482045-61.wmv?ct=IL&rg=BZ&aid=31&ts=0&cu=91A297E2-5359-416A-912B-2D9BC106E491'
注意:我使用引号是因为如果我不这样做,shell 将解释?
和字符。&