Re: Script/Command to extract XYZ.ra URL from XYZ.ram files
- From: Robert Newson <ReapNewsB@xxxxxxxxxxxxxxxxxxx>
- Date: Wed, 25 Jul 2007 12:28:56 GMT
Chris F.A. Johnson wrote:
On 2007-07-25, Robert Newson wrote:....
Peter Kai Jensen wrote:
Mike wrote:
I need to find/create a script that can, when fed a typical URL to a
something.ram file, the sort you find all over the BBC's "Listen
again" pages, will extract the URL within it, the real something.ra
file address, and output that so I can then feed it to mplayer for
streaming or grabbing/converting to .wav format.
I'm planning on using this as an external application in Firefox, to
replace Realplayer. (To avoid install it actually.)
Hints, tips, and URLs to existing projects welcome. :)
My immediate thoughts are a 'wget' followed by a backquoted 'cat' on a var assignment or other command line (followed by a 'rm' of the wget'ed file).
It'll [probably] work, but there may be something simpler?
url=http://xxx.yyy.zz/qwerty.ram
stream=$( wget -O - "$url" )
Thanks, that looks like the improved version of which I was hoping (ie sending the contents of the wget'ed file directly to somewhere). ^_^ (Haven't read the wget man page in ages or used it much more beyond downloading a page that my browser couldn't display properly; would have investigated properly if I was aiming to solve the problem.)
.
- Follow-Ups:
- References:
- Script/Command to extract XYZ.ra URL from XYZ.ram files
- From: Mike
- Re: Script/Command to extract XYZ.ra URL from XYZ.ram files
- From: Peter Kai Jensen
- Re: Script/Command to extract XYZ.ra URL from XYZ.ram files
- From: Robert Newson
- Re: Script/Command to extract XYZ.ra URL from XYZ.ram files
- From: Chris F.A. Johnson
- Script/Command to extract XYZ.ra URL from XYZ.ram files
- Prev by Date: Re: Script/Command to extract XYZ.ra URL from XYZ.ram files
- Next by Date: Re: Script/Command to extract XYZ.ra URL from XYZ.ram files
- Previous by thread: Re: Script/Command to extract XYZ.ra URL from XYZ.ram files
- Next by thread: Re: Script/Command to extract XYZ.ra URL from XYZ.ram files
- Index(es):
Relevant Pages
|