cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: how to extract these pages by using cURL

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 1 Feb 2002 17:34:39 +0100 (MET)

On Fri, 1 Feb 2002, Sherry (Xiaoqun) Liao wrote:

[please direct questions such as this to the curl mailing list, see
http://curl.haxx.se/mail/, this reply is CC'ed to the list]

> I am trying to use cURL to extract some webpages like:
>
> http://www.artsinohio.com/srchresults.asp ---this can be done
> but the pages like the following , I can't get the html by cURL.
> http://www.artsinohio.com/srchresults.asp?currentPage=2
> http://www.artsinohio.com/srchresults.asp?currentPage=3
> ....
> Could you help me?

You probably need to put quotes around the URL, like in:

 $ curl "http://www.artsinohio.com/srchresults.asp?currentPage=2"

Shells usually treat the ?-letter special otherwise.

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2002-02-01