为什么 YouTube api 搜索从不同的服务器返回不同的结果? [英] Why is the YouTube api search returning different results from different servers?

查看:34
本文介绍了为什么 YouTube api 搜索从不同的服务器返回不同的结果?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们注意到从 v3 搜索 API 取决于服务器的位置.我已经确认代码完全相同,当我在不同服务器上使用 api 文档网站的 try-it 部分运行测试时,结果也不同.有谁知道为什么?

We've noticed the search results returned from the v3 search api are different depending on the location of the server. I've confirmed the code is exactly the same and when I run a test using the try-it section of the api documentary website on the different server the results are different as well. Does anyone know why?

https://developers.google.com/youtube/v3/docs/search/list#try-it

推荐答案

这很正常,正如您对 YouTube 网络搜索所期望的那样,它会根据您的登录名和位置找到最相关的视频.

That's normal, just as you'd expect from YouTube's web search, depending on your login and location, it will find most relevant videos.

这篇关于为什么 YouTube api 搜索从不同的服务器返回不同的结果?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆