Jump to content

Using CURL to scrape - Why are my results cached?


Jeffro

Recommended Posts

I'm just doing a simple scrape on a web page.. works great, except...  the section I scrape is just 10 words inside a table which are updated every few hours. 

 

Problem is...  my scrape seems to only grab what I found the first time I ran my script, despite the new words being updated a couple hours ago. 

 

I've tested everything script wise and looked at the html source to be sure everything is showing up... just wondering, is there any thing you can think of that would allow for caching (from source site or the php script) of the words on a page when running my script?  I even opened 2 different browsers and ran the script fresh from these browsers that had never ran it.  When I echo the results, I still get the original result set.

 

I'm perplexed. 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.