I need a simple PHP function that uses CURL that scrapes Google’s SERPS for links. For example:
fucntion scrapelinks ($keyword, $start_postion, $num_of_links=10){
return $array_of_link;
}
For a given keyword (such as ‘money’ or ‘xbox’), the function should return an array of links. The links are in this format:
http://xboxgames.com
http://money.com
http://xbox.com
etc.
$start_postion = this could be from 1 to 10 and indicates what page on google to get the links from.
