talon New member Aug 6, 2009 137 0 0 Sep 6, 2011 #1 I would like to extract google results in php and to receive the number of results based on a keyword for the following terms: site:$keyword link:$keyword inurl:$keyword intitle:$keyword Any suggestions? Thanks
I would like to extract google results in php and to receive the number of results based on a keyword for the following terms: site:$keyword link:$keyword inurl:$keyword intitle:$keyword Any suggestions? Thanks
J Jake232 New member Sep 4, 2010 712 4 0 Sep 6, 2011 #2 Send a request to google for your keyword with curl. Use DOM and Xpath to extract the info.
talon New member Aug 6, 2009 137 0 0 Sep 6, 2011 #3 Jake232 said: Send a request to google for your keyword with curl. Use DOM and Xpath to extract the info. Click to expand... Can you please be more spesific
Jake232 said: Send a request to google for your keyword with curl. Use DOM and Xpath to extract the info. Click to expand... Can you please be more spesific
M mattseh import this Apr 6, 2009 5,504 72 0 A ~= A Sep 6, 2011 #4 talon said: Can you please be more spesific Click to expand... 1. Learn curl 2. Make curl requests for each of the 4 search types. 3. Use PHP DOM to parse the html. 4. Use xpaths on the DOM to get the values you want.
talon said: Can you please be more spesific Click to expand... 1. Learn curl 2. Make curl requests for each of the 4 search types. 3. Use PHP DOM to parse the html. 4. Use xpaths on the DOM to get the values you want.