physaux Posted November 5, 2009 Share Posted November 5, 2009 <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! Link to comment https://forums.phpfreaks.com/topic/180474-scraping-site-with-curl-but-they-have-iframed-text-not-in-source-code-help/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.