cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Download Webpage

From: Alessandro Vesely <vesely_at_tana.it>
Date: Fri, 28 Sep 2007 11:46:28 +0200

Yedidi, Santhosh wrote:
> I am downloading a web page
> Curl www.google.co.in
>
> But I am not able to see the pictures and some styles. So how to download
> along with the style and picture files

Curl is not a browser. In facts, even if you download
http://www.google.co.in/intl/en_com/images/logo_plain.png
using curl, you don't actually *see* that image. :-)

You need to parse the downloaded document, usually html,
xhtml, or xml, in order to learn about styles, images,
scripts, frames and other data referenced therein.
Executing the scripts may result in yet more documents
to download and parse, and so on.
Received on 2007-09-28