cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Page jump

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 26 Aug 2005 08:21:28 -0700

On Fri, Aug 26, 2005 at 12:51:18PM +0100, Eriksson, Andreas (A.E.) wrote:
> I have to go through all these steps to get the right information so my
> question is there a way to make curl follow the redirections until it reaches
> the last page and print that information?

The --location option makes curl follow HTTP redirects. If the server is
using HTML or JavaScript redirects, that won't work. You'll need to parse
the page yourself in that case.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2005-08-26