From: "Bhikkhu Mettavihari" <draketools@gmail.com>
To: Renê <rene@grad.icmc.usp.br>
Cc: Linux Newbie <linux-newbie@vger.kernel.org>
Subject: Re: download file
Date: Fri, 19 Sep 2008 09:37:19 +0530 [thread overview]
Message-ID: <2e35683f0809182107m1573a9b0ja7278486dcfecdf3@mail.gmail.com> (raw)
In-Reply-To: <5f9618380809161837g748215d5n914702e7ac5f0d11@mail.gmail.com>
Thank you Renê
That is working fine.
with metta
Mettavihari
On Wed, Sep 17, 2008 at 7:07 AM, Renê <rene@grad.icmc.usp.br> 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@gmail.com> wrote:
>> Hi Renê and Ben
>>
>> Thank you for the reply's
>>
>> On Wed, Sep 17, 2008 at 12:22 AM, Renê <rene@grad.icmc.usp.br> 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@vger.kernel.org
>> 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
prev parent reply other threads:[~2008-09-19 4:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-16 18:18 download file Bhikkhu Mettavihari
2008-09-16 18:32 ` Ben Kevan
2008-09-16 18:52 ` Renê
2008-09-17 0:42 ` Bhikkhu Mettavihari
2008-09-17 1:37 ` Renê
2008-09-19 4:07 ` Bhikkhu Mettavihari [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2e35683f0809182107m1573a9b0ja7278486dcfecdf3@mail.gmail.com \
--to=draketools@gmail.com \
--cc=linux-newbie@vger.kernel.org \
--cc=rene@grad.icmc.usp.br \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox