cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: Parsing with Curl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 22 May 2001 19:17:08 +0200 (MET DST)

On Tue, 22 May 2001, William RANG wrote:

> I would like to know if there is a way to download an entire web page:
> Body Html + Frames + Rich Media (.gif, .jpg) with Curl. Ie, if Curl is
> able to parse the html code, is able to execute scripts (javascript...)
> in order to download all components of the web page.

No, no and no. :-)

Curl is used for transfers, interpreting the data is left for others. You
tell it what to download!

Since you post this to the PHP list, I'm sure you'll be able to find some
fancy PHP functions that'll help you parse HTML.

-- 
     Daniel Stenberg -- curl dude -- http://curl.haxx.se/
_______________________________________________
Curl-and-php mailing list
Curl-and-php_at_lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/curl-and-php
Received on 2001-05-22