【问题标题】:Retrieve feed from a specific category with appengine python youtube api使用 appengine python youtube api 从特定类别中检索提要
【发布时间】:2011-07-23 02:59:11
【问题描述】:

http://code.google.com/apis/youtube/articles/youtube_api_appengine.html 按照本教程,我可以为我的服务检索最新的视频源。

feed = client.GetRecentlyFeaturedVideoFeed()

使用上述命令,我想检索四个标准 youtube 类别新闻、喜剧、体育、音乐的视频,所以我想我应该以某种方式查询它:

feed = client.Query('http://gdata.youtube.com/feeds/api/videos/-/Comedy?v=2')

我无法弄清楚语法,即使我走的是正确的方向。

【问题讨论】:

    标签: python google-app-engine youtube-api


    【解决方案1】:

    在类似的帖子中很简单

    feed = client.GetYouTubeVideoFeed('http://gdata.youtube.com/feeds/api/videos/-/Comedy?v=2')
    

    以及相关帖子:How to get the public channel URL from YouTubeVideoFeed object using the YouTube API?

    【讨论】:

      猜你喜欢
      • 2012-03-10
      • 1970-01-01
      • 1970-01-01
      • 2013-04-24
      • 2013-07-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多