YouTube的API - 获取全部视频从用户的限制? [英] YouTube API - Get All Videos From User limits?

查看:593
本文介绍了YouTube的API - 获取全部视频从用户的限制?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图通过YouTube的数据API来获取从一个用户的所有视频。不过,我碰到一个障碍:它似乎并没有从用户返回的所有视频。有没有一种方法,以提高所显示的最高金额? 我使用的是用于测试的网址是 http://gdata.youtube.com/供稿/ API /用户/ GoogleDevelopers /上传

I'm trying to get all the videos from one user via YouTube's data API. However, I've run into a roadblock: it doesn't seem to be returning all the videos from a user. Is there a way to raise the maximum amount that is shown? The URL I'm using for testing is http://gdata.youtube.com/feeds/api/users/GoogleDevelopers/uploads

推荐答案

不过,您可以添加 MAX-结果 url参数指定多少视频请求返回, 50是最大的,所以你必须做出一个以上的请求,如果用户有超过50的视频。

You can add max-results url parameter to specify how many videos are returned by the request, however 50 is maximum, so you have to make more than one request if a user has more than 50 videos.

<一个href="http://$c$c.google.com/intl/en/apis/youtube/2.0/developers_guide_protocol.html#Standard_parameters">http://$c$c.google.com/intl/en/apis/youtube/2.0/developers_guide_protocol.html#Standard_parameters

这篇关于YouTube的API - 获取全部视频从用户的限制?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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