Re: download file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you Renê

That is working fine.

with metta
Mettavihari

On Wed, Sep 17, 2008 at 7:07 AM, Renê <rene@xxxxxxxxxxxxxxxx> wrote:
> I think that are lot of ways, but this one should work:
>
> 1) Get the file with stream urls:
>
> wget -O videos "http://switch3.castup.net/cunet/gm.asp?ai=214&ar=1050wmv&ak=TY";
>
> PS: The contents will be saved in file "videos"
>
> 2) Extract the stream urls:
>
> cat videos | grep "mms://" | sed "s/<ref href=\"\(.*\)\".*/\1/" > urls
>
> 3) Now file "urls" contains each stream url
>
> 4) You can save the stream with Mplayer:
>
> mplayer -dumpstream
> "mms://s95wm.castup.net/server12/39182686-61.wmv?ct=BR&rg=NA&aid=214&st=0&ts=0&cu=77D67414-0C4A-4A7E-A3EE-41600FDA4131"
>
> PS: Do not forget to put the stream url in double quotes :)
>
> Cheers;
>
> Renê
>
> On Tue, Sep 16, 2008 at 9:42 PM, Bhikkhu Mettavihari
> <draketools@xxxxxxxxx> wrote:
>> Hi Renê and Ben
>>
>> Thank you for the reply's
>>
>> On Wed, Sep 17, 2008 at 12:22 AM, Renê <rene@xxxxxxxxxxxxxxxx> wrote:
>>> Are you getting this error because address contains the & character,
>>> that it's used by shell to start proccess in background,
>>> you can easily download file with wget by putting double quotes in address:
>>>
>>> wget "http://switch3.castup.net/cunet/gm.asp?ai=214&ar=1050wmv&ak=TY";
>>>
>>> or use \& instead &, like this:
>>>
>>> wget http://switch3.castup.net/cunet/gm.asp?ai=214\&ar=1050wmv\&ak=TY
>>
>> Thank you so much. I do get the file that wget is asking for.
>> But as you might know I am trying to download the video file that is
>> referenced to in this file
>> If any one of you can help with that would be great.
>>
>> regards
>> Mettavihari
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
>> the body of a message to majordomo@xxxxxxxxxxxxxxx
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>> Please read the FAQ at http://www.linux-learn.org/faqs
>>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

[Index of Archives]     [Audio]     [Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux