cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: lynx -dump option

From: Ralph Mitchell <ralphmitchell_at_gmail.com>
Date: Mon, 5 Jun 2006 23:26:50 -0500

The curl equivalent of that lynx command would be:

     curl -o output.html http://www.google.com

You can then fiddle with the output as much asa you like.

Ralph Mitchell

On 6/5/06, Surya Kiran Gullapalli <suryakiran.gullapalli_at_gmail.com> wrote:
>
> Hi,
> I'm new to curl, and i'm trying to explore some things which are specific
> to my application.
> Till now my application, downloads a html file, and then extracts some
> information from it.
>
> as an example i'm using some thing like this
>
> lynx http://www.google.com -dump > output.
>
>
> Then parses this output file to get the required information. I'm using
> system call to do this.
>
> I'd like to know whether i can do the same thing with libcurl? If so how?
>
> I can download a file, alright. But can i dump it to another file, like
> lynx does?
>
> Thanks in advance,
> Surya
>
>
Received on 2006-06-06