cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Get complete page?

From: Ralph Mitchell <ralphmitchell_at_gmail.com>
Date: Wed, 1 Mar 2006 04:14:34 -0600

Curl just gets one file at a time. You'd need to parse the initial
page, extract any links to images, javascript files, style sheets,
etc, go fetch those things too, then fix up the links in the page to
point to the local files.

Ralph Mitchell

On 3/1/06, juman <juman_at_chello.se> wrote:
> When using Mozilla or IE you can right-click on a page and choose "Save
> Page As..." and then select to save the complete page which creates a
> html file and a folder containing all the pictures for the page. The
> links in the page for the pictures is also rewritten to create a
> complete localized version of the page... Is there some smart way to do
> the same with curl?
>
> /juman
>
Received on 2006-03-01