Jump to content

Scraping site with Curl, but they have "Iframed" text not in source code. Help?


physaux

Recommended Posts

 <script type="text/javascript">
  var googleSearchIframeName = "cse-search-results";
  var googleSearchFormName = "cse-search-box";
  var googleSearchFrameWidth = 600;
  var googleSearchDomain = "www.google.com";
  var googleSearchPath = "/cse";
  var googleSearchResizeIframe = true;
//  var googleSearchResizeIframe = true; 
//  var googleSearchResizeIframe = (navigator.product != 'Gecko'); 
</script>
      <script type="text/javascript" src="http://www.google.com/afsonline/show_afs_search.js"></script>
    </td>

  </tr>
</table>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="10"></td>
  </tr>
</table>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><hr size="3" color="004d46" noshade="noshade" /></td>
  </tr>

</table>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="White">
  <tr>
    <td colspan="2"></td>
  </tr>
  <tr>
    <td colspan="2"></td>
  </tr>
  <tr>
    <td colspan="2"></td>

  </tr>
  <tr>
    <td colspan="2"><div class="Body_TxT_B_Black">

 

That's a piece of the source code, It is just an Iframed google custom search.

Is there any way for me to get the text in there with Curl, or even somehow determine exactly the properties of the "custom search", and replicate it on google.com, and then scrape from google?

 

Any advice? thanks!

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.