python - 查询 python youtube api 时如何检索超过 50 个结果?

标签 python api youtube gdata

当基于关键字搜索时,Hi 可以增加 youtube 视频元数据检索的结果数量。提供的最大结果数为 50,出于分析目的,我想增加更多。

最佳答案

我必须查看 Reference Guide对于 API。似乎 50 是最大值。:

The max-results parameter specifies the maximum number of results that should be included in the result set. This parameter works in conjunction with the start-index parameter to determine which results to return. For example, to request the second set of 10 results – i.e. results 11-20 – set the max-results parameter to 10 and the start-index parameter to 11. The default value of this parameter is 25, and the maximum value is 50. However, for displaying lists of videos, we recommend that you set the max-results parameter to 10.

关于python - 查询 python youtube api 时如何检索超过 50 个结果?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21944409/

相关文章:

python - 如何在 python 中链接目录(相当于 Linux 命令 ln -s)?

Java UML API/库

iphone - 如何使用IOS Pdf reader Api通过Url查看远程pdf文件?

ios - 使用 Google 的 ServiceGenerator 构建 YouTube v3 API 包装器

android - 适用于Android设备的视频库

python - Boost.Python | .so 文件中的符号,但我收到 ImportError : undefined symbol

python - Django 专门过滤

python - 人工神经网络反向传播的全矩阵方法

api - API 向后兼容性的最佳实践

youtube - 通过 YouTube API 观看稍后播放列表网址