cURL / Mailing Lists / curl-users / Single Mail


Re: unable to Retrieve desired page

From: Brian Dessent <>
Date: Thu, 18 Oct 2007 23:19:43 -0700

> "Yedidi, Santhosh" wrote:

> curl
> ''
> –L -o 1.html

You're missing the fact that all of those parameters come after a #.
That means it's not actually part of the URL; the page that is being
fetched by the browser is in fact just "" and curl
is doing the same thing.

The reason that you see a map in your browser is because the page
contains a great deal of javascript which reads the parameters inside
the location fragment (location.hash) and acts accordingly. But try
viewing the same URL in a browser with javascript disabled and you will
see that you're just loading the root page of and nothing
else. curl can only perform HTTP requests, it cannot parse HTML or
execute javascript, so you need to re-evaluate what you hope to
accomplish here.

Received on 2007-10-19