cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

Re: Strange problem with curl involving cookies and post data

From: Ralph Mitchell <ralphmitchell_at_gmail.com>
Date: Thu, 5 Mar 2009 10:56:10 -0600

On Thu, Mar 5, 2009 at 6:53 AM, Pieter Steyn <pieterste_at_gmail.com> wrote:

> Hi,
>
> Ok, I needed to use the -L switch too, to follow the redirect.
>
> But, end of the day I had the exact same problem as with wget. The
> ajax doesn't get dealt with properly and I end up with an empty div,
> where it's filled if I had used a browser.

From what I've seen of it, Ajax seems to be javascript, right? Curl doesn't
have a built-in javascript interpreter, and probably never will.

To get what you're after, you'll need to examine all the <script> sections
and download any script files, work out what they do, then try to replicate
that in your script.

Ralph Mitchell

-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-03-05

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET