Page 1 of 1

Using cURL to get data from a site with delayed AJAX

Posted: Mon Jul 12, 2010 9:24 pm
by kontron
I am trying to scrape data off a page using php with cURL. However the main content on the page is populated using a delayed ajax called, this means that the data I obtained will not contain the content I need. Is there a way to use cURL to initiate the page load but delay the data return until the AJAX on the remote page completes?

Re: Using cURL to get data from a site with delayed AJAX

Posted: Tue Jul 13, 2010 9:16 am
by Jade
I wonder if you did something like this: http://us3.php.net/manual/en/function.c ... i-init.php

Re: Using cURL to get data from a site with delayed AJAX

Posted: Tue Jul 13, 2010 7:48 pm
by kontron
I am not sure how to achieve what i need using the multi channel, please advise