Why does a google search through the google api return different results to a search in the web page?

早过忘川 提交于 2019-12-30 08:25:42

问题


I think the question pretty much sums up my query.


回答1:


When you use the Google web page to do searches while you're logged into GMail or other Google services, it uses information about your browsing history to modify the results. It can't do that with an API, since it assumes you're doing it for somebody other than yourself.

Also, as @Walden mentioned in his answer, you may be hitting different servers for the two queries, and Google does a "slow sync" between the servers so they might not all have the latest search database or the latest version of the page ranking code.




回答2:


Your Google web search may return different results than my Google web search for the same query. Google is constantly updating its search routines, and often will roll the updates out at different times in different data centers so each data center, and even each cluster in a data center may return different results.

Therefore, the results from the API probably come from a different codebase (version of the codebase) than your web request.




回答3:


One cause could be different Google locals. Querying Google.com offers different results than Google.de for the same keyword.



来源:https://stackoverflow.com/questions/654546/why-does-a-google-search-through-the-google-api-return-different-results-to-a-se

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!