cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl in combination with parameters and redirection

From: Ralph Mitchell <ralphmitchell_at_gmail.com>
Date: Thu, 29 Sep 2005 14:22:24 -0500

Well, one thing you're going to have to do is take a look at the page you
get back, and extract this line from it:
location.href="results.gallery.cfm
?xidcategorie=&mycurrent_section=buy&xinitliste=Y&xnotsearch=Y"

then fill in the fully qualified hostname and go fetch that. Another thing
you might want to consider is taking wget questions to a mailing list that
deals with wget. I believe this is the curl mailing list, though I can see
how there might be some confusion...

Ralph Mitchell

On 9/29/05, Jan Jansen <janjansenbe_at_gmail.com> wrote:
>
> Hello,
>
> The basic functionality of wget is known to me and very usefull.
>
> However, currently I try to fetch a url of the following layout :
>
> http://www.immoweb.be/NL/client/search.cfm?immosource=frnba&notid=92477&NotAlea=92477&Notcategorie&NotSearch=N
>
>
> which is automatically redirected towards the following url (when pasting
> the first url in a browser)
>
> http://www.immoweb.be/NL/client/results.gallery.cfm?xidcategorie=&mycurrent_section=buy&xinitliste=Y&xnotsearch=Y
>
>
> My question,
>
> how can I use the wget tool to fetch the source code, generated by the
> automatically redirected url ?
>
> Greetz, Jan (janjansenbe_at_gmail.com)
>
Received on 2005-09-29