From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Bhikkhu Mettavihari" Subject: Re: download file Date: Fri, 19 Sep 2008 09:37:19 +0530 Message-ID: <2e35683f0809182107m1573a9b0ja7278486dcfecdf3@mail.gmail.com> References: <2e35683f0809161118q3153143kcc6221dc7dd27949@mail.gmail.com> <200809161132.05015.ben.kevan@gmail.com> <5f9618380809161152x334e7282g5fde3ac2b4f2f789@mail.gmail.com> <2e35683f0809161742l1bac0340qca83a3ff3da6029@mail.gmail.com> <5f9618380809161837g748215d5n914702e7ac5f0d11@mail.gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Bmhh/nQSqxoc2t/NJdaZC2bjX8MgMGu8pc+8K5vwdSc=; b=kTia2E1ll1uEPoUznp+Sg+DzzXjfiFfXTH6aKV9whXZOb7zEZIO3Geu56tE/uIae3o AzzGce1rCdXO6wc8pahLm9bgzpBZ5L6Iii0yh7DNgMawM+2goy8m/t0gjTPuKqm1pwve G6N58RRyDTkbOghpwkKsF47WPt5VVinnMNbsE= In-Reply-To: <5f9618380809161837g748215d5n914702e7ac5f0d11@mail.gmail.com> Content-Disposition: inline Sender: linux-newbie-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="iso-8859-1" To: =?ISO-8859-1?Q?Ren=EA?= Cc: Linux Newbie Thank you Ren=EA That is working fine. with metta Mettavihari On Wed, Sep 17, 2008 at 7:07 AM, Ren=EA 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=3D214&ar=3D= 1050wmv&ak=3DTY" > > PS: The contents will be saved in file "videos" > > 2) Extract the stream urls: > > cat videos | grep "mms://" | sed "s/ u= rls > > 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=3DBR&rg=3DNA&aid=3D= 214&st=3D0&ts=3D0&cu=3D77D67414-0C4A-4A7E-A3EE-41600FDA4131" > > PS: Do not forget to put the stream url in double quotes :) > > Cheers; > > Ren=EA > > On Tue, Sep 16, 2008 at 9:42 PM, Bhikkhu Mettavihari > wrote: >> Hi Ren=EA and Ben >> >> Thank you for the reply's >> >> On Wed, Sep 17, 2008 at 12:22 AM, Ren=EA wro= te: >>> 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=3D214&ar=3D1050wmv&= ak=3DTY" >>> >>> or use \& instead &, like this: >>> >>> wget http://switch3.castup.net/cunet/gm.asp?ai=3D214\&ar=3D1050wmv\= &ak=3DTY >> >> 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-newb= ie" 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