I've downloaded this page via cURL, and the price on the page ( $118.09 ) does not show up in the source via cURL. When I view the source on the same page with my browser ( Chrome ), the price is there. All the other product attributes are there in the cURL source ( part number, description, case qty, etc ).
Any thoughts on what's happening?
Here are my cURL settings:
$options = array( CURLOPT_RETURNTRANSFER => true, CURLOPT_HEADER => false, CURLOPT_FOLLOWLOCATION => true, CURLOPT_ENCODING => "", CURLOPT_AUTOREFERER => true, CURLOPT_CONNECTTIMEOUT => 10, CURLOPT_TIMEOUT => 5, CURLOPT_MAXREDIRS => 5, CURLOPT_USERAGENT => "http://www.industrycortex.com/crawler.php" ); NOTES:
It's been pointed out that this site does not display a price ( see screenshot below ) until the user visits /home. I've tested this and it is correct. The website produces a cookie that I was not passing with cURL. Further, the webserver tracks if the session id of the user has visited /home, and only shows prices if that session id has. The cookie produced by a visit to /home is identical to the cookie produced by any other page.
