why the difference in google search result using script for search and using a browser for search
Posted
by
Jayapal Chandran
on Pro Webmasters
See other posts from Pro Webmasters
or by Jayapal Chandran
Published on 2012-09-18T06:49:31Z
Indexed on
2012/09/18
9:51 UTC
Read the original article
Hit count: 308
google-search
I wrote a code to find the position in google search result for a search keyword.
I also did the same with the browser.
Both the results are different.
Let me explain in detail here.
I have a website and i wanted to know on which page number my domain appears for a search string. Like when i search for 'code snippets' i wanted to find in google search on which page number a certain domain appears.
I wrote a php code to search page by page starting from page 1 to page n.
I did the same task using a browser.
The script returned page 4 and when browsed i can see the domain appearing in second page.
here is the search string i use in my code.
/search?hl=en&output=search&sclient=psy-ab&q=code+snippets&start=0&btnG=
and for each request i change the start=0 to start=1, start=2, etc... and in the response i will check whether my domain appears in it.
any idea for this different in search results?
© Pro Webmasters or respective owner