Youtube 获取视频和播放列表帐户 [英] Youtube get videos and playlist accounts

查看:48
本文介绍了Youtube 获取视频和播放列表帐户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建一个媒体公司模拟应用程序,我想知道是否有一种方法可以从某个不是我的帐户中获取视频播放列表,例如,如果用户的页面是 http://www.youtube.com/someuser 是否可以从该用户那里获取所有视频和播放列表?

I'm creating a media house mock app and am wondering whether there is a way I can get video playlists from a certain account which is not mine for example if a user has a page that is http://www.youtube.com/someuser is it possible to get all the videos and playlist from that user?

推荐答案

您可以使用 youtube 视频源(YoutubeRSS 视频源)

You can use youtube video feeds(Youtube RSS Video Feeds)

使用 GET 发出以下请求并读取返回的 xml 数据.

Make following requests using GET and read the xml data returned.

http://gdata.youtube.com/feeds/api/users/{{username}}/playlists - For playlists
http://gdata.youtube.com/feeds/api/users/{{username}}/uploads - For uploads

Orderby 参数可用于更改视频的顺序.

Orderby parameter can be used to change order of videos.

这篇关于Youtube 获取视频和播放列表帐户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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