curl-users
RE: unable to Retrieve desired page
Date: Fri, 19 Oct 2007 09:16:43 +0100
Santhosh,
Last week, I faced same problem like yours. But mine is solved by using -L
and -o parameters. The only deiifernece I found from your URL is # symbol. I
don't know CURL has specific meaning with this symbol different to HTTP
meaning. I am just hpoing, not sure. Replace /# symbol in your URL with ?
and try.
Try like this.
curl 'http://wikimapia.org?lat=22.454187&lon=88.209229&z=13&l=0&m=m&v=1' -L
-o 1.html
If you are using proxy server rather than normal HTTP, include proxy
parameter in your curl command like below
curl -x <<proxyIP>>[:port]
'http://wikimapia.org?lat=22.454187&lon=88.209229&z=13&l=0&m=m&v=1' -L -o
1.html
Default port is 8080 (if proxy listening port is different, mention that)
and if your proxy IP is 1.1.1.99, then command will be
curl -x 1.1.1.99:8080
'http://wikimapia.org?lat=22.454187&lon=88.209229&z=13&l=0&m=m&v=1' -L -o
1.html
or
curl -x 1.1.1.99:8080
'http://wikimapia.org/#lat=22.454187&lon=88.209229&z=13&l=0&m=m&v=1' -L -o
1.html
Ramesh Babu
Lombard Business Direct
I.T.
Direct Dial - 01709 847844
Ext: 47844
_____
From: curl-users-bounces_at_cool.haxx.se
[mailto:curl-users-bounces_at_cool.haxx.se] On Behalf Of Yedidi, Santhosh
Sent: Friday, October 19, 2007 6:37 AM
To: curl-users_at_cool.haxx.se
Subject: RE: unable to Retrieve desired page
Ramesh,
I have tried
curl 'http://wikimapia.org/#lat=22.454187&lon=88.209229&z=13&l=0&m=m&v=1' -L
-o 1.html
It gives again the main page rather than the particular page I am looking
for.
Any solution. If I paste the same in firefox, it shows the required page.
Santhosh
Date: Thu, 18 Oct 2007 11:29:09 +0100
From: "Babu, Ramesh (LBD)" <Ramesh.Babu_at_lombardvm.com>
Subject: RE: unable to Retrieve desired page
To: the curl tool <curl-users_at_cool.haxx.se>
Message-ID:
<4DAE7A373FA37340BF3E88BC9ED07CFA3CB977_at_REEDXCLSXM04V02.rbsres01.net>
Content-Type: text/plain; charset="iso-8859-1"
Sathosh,
Try this command....
Curl 'http://wikimapia.org/#lat".609574 <http://wikimapia.org/#lat>
&lon^.502083&z_&l=0&m=m&v=1' -L -o 1.html
Please note that url should be in single quotes, -L and -o options should be
used. Please let me know the result.
Ramesh Babu
*** WARNING : This message originates from the Internet ***
=00This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they are
addressed. If you have received this email in error please notify the system
manager. This message contains confidential information and is intended only
for the individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail.
The opinions expressed in this email represent those of the individual
and not necessarily those of Lombard Vehicle Management Limited.
The contents of this email may be privileged and are confidential.
It may not be disclosed to or used by anyone other than the
addressee(s), nor copied in any way. If received in error, please
advise the sender, then delete from your system.
Should you wish to use email as a mode of communication,
Lombard Vehicle Management Limited is unable to guarantee the security
of email content outside our own computer systems.
Lombard Vehicle Management Limited
Registered in England. No 2597082
Registered Office: 3 Princess Way, Redhill, Surrey, RH1 1NP
A member of the Royal Bank of Scotland Group.
Lombard Vehicle Management Limited is an appointed representative of The Royal Bank of Scotland plc, which is authorised and regulated by the Financial Services Authority
Received on 2007-10-19