Using cURL to get data from a site with delayed AJAX

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kontron
Forum Newbie
Posts: 2
Joined: Mon Jul 12, 2010 9:21 pm

Using cURL to get data from a site with delayed AJAX

Post 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?
User avatar
Jade
Forum Regular
Posts: 908
Joined: Sun Dec 29, 2002 5:40 pm
Location: VA

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

Post by Jade »

I wonder if you did something like this: http://us3.php.net/manual/en/function.c ... i-init.php
kontron
Forum Newbie
Posts: 2
Joined: Mon Jul 12, 2010 9:21 pm

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

Post by kontron »

I am not sure how to achieve what i need using the multi channel, please advise
Post Reply