cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Problem downloading & saving to local file Win32

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 12 Apr 2006 19:09:22 -0700

On Wed, Apr 12, 2006 at 10:33:12PM -0300, Don MacLean wrote:
> The double quotes around the URL fixed the problem re identical data. I will
> look into the archives to see if I can find info on Piping into other programs
> to get a plain text output. I am not only new to curl but text web browsers in
> general.

If you can find Windows versions of lynx or w3m, then it should be as simple
as:

curl -o tempfile.htm http://URL
lynx -force_html -dump -anonymous tempfile.htm
del tempfile.htm

or with w3m:

curl http://URL | w3m -dump -T text/html -o frame=0 -o meta_refresh=0 -o auto_image=0

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2006-04-13