Mobile app version of vmapp.org
Login or Join
Lee4591628

: Why the difference in Google search result using script for search and using a browser for search? I wrote a script to find the position in Google search result for a search keyword. I also

@Lee4591628

Posted in: #GoogleSearch

I wrote a script to find the position in Google search result for a search keyword. I also did the same with the browser. The two 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 script to search page by page starting from page 1 to page n. Then I did the same task using a browser. The script returned page 4 and when browsed I can see the domain appearing on the second page.

Here is the search string I used in my code.


/search?hl=en&output=search&sclient=psy-ab&q=code+snippets&start=0&btnG=


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 why this is different in search results?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Lee4591628

1 Comments

Sorted by latest first Latest Oldest Best

 

@Bryan171

The first reason that come to mind is that you're using a browser where you did the login. So Google is improving your experience personalizing the SERPs.

Just to be sure that your software is well written, you can compare the results against another software like this one I made: Site Seeker.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme