I'm tracking SERP's from a proprietary AutoIT script (for those interested, see AU3 code below).
Results aren't spot on though. For instance, one of my sites are ranking #9 (as what I see when I visit google.com/ncr myself and is shown by SERP tools like Firefox plugin Rank Checker etc.), however the AU3 code gives a #7 result.
What methods can be used to get more accurate SERP rankings? I tried different user-agent's however this doesn't seem to make a difference. I'm not necessarily looking for replies based on the code, but more in general what methods can be used to get more accurate SERP's.
Thanks!
Results aren't spot on though. For instance, one of my sites are ranking #9 (as what I see when I visit google.com/ncr myself and is shown by SERP tools like Firefox plugin Rank Checker etc.), however the AU3 code gives a #7 result.
What methods can be used to get more accurate SERP rankings? I tried different user-agent's however this doesn't seem to make a difference. I'm not necessarily looking for replies based on the code, but more in general what methods can be used to get more accurate SERP's.
Thanks!
$url = "http://www.google.com/search?q=" & $parsedkeyword & "&hl=en&start=" & $index
Local $oHTTP = ObjCreate("winhttp.winhttprequest.5.1")
If @error Then Return -1
$oHTTP.Open("GET", $url)
If @error Then Return -1
$oHTTP.SetRequestHeader("User-Agent", "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 4.0.20506)")
$oHTTP.Send()
If @error Then Return -1
$oReceived = $oHTTP.ResponseText
If @error Then Return -1
StringRegExp($oReceived, '<a href="([^"]+)" class=l[^<>]*>.*?</a>', 3)