<legend id='W8WBn'><style id='W8WBn'><dir id='W8WBn'><q id='W8WBn'></q></dir></style></legend>
    <tfoot id='W8WBn'></tfoot>
      <bdo id='W8WBn'></bdo><ul id='W8WBn'></ul>

    <small id='W8WBn'></small><noframes id='W8WBn'>

  • <i id='W8WBn'><tr id='W8WBn'><dt id='W8WBn'><q id='W8WBn'><span id='W8WBn'><b id='W8WBn'><form id='W8WBn'><ins id='W8WBn'></ins><ul id='W8WBn'></ul><sub id='W8WBn'></sub></form><legend id='W8WBn'></legend><bdo id='W8WBn'><pre id='W8WBn'><center id='W8WBn'></center></pre></bdo></b><th id='W8WBn'></th></span></q></dt></tr></i><div id='W8WBn'><tfoot id='W8WBn'></tfoot><dl id='W8WBn'><fieldset id='W8WBn'></fieldset></dl></div>

      1. 如何使用 youtube api 从播放列表中获取所有视频?

        How get all videos from a playlist using youtube api?(如何使用 youtube api 从播放列表中获取所有视频?)
            <tbody id='JvQvl'></tbody>
          <tfoot id='JvQvl'></tfoot>

            <legend id='JvQvl'><style id='JvQvl'><dir id='JvQvl'><q id='JvQvl'></q></dir></style></legend>
            • <bdo id='JvQvl'></bdo><ul id='JvQvl'></ul>
              • <small id='JvQvl'></small><noframes id='JvQvl'>

                1. <i id='JvQvl'><tr id='JvQvl'><dt id='JvQvl'><q id='JvQvl'><span id='JvQvl'><b id='JvQvl'><form id='JvQvl'><ins id='JvQvl'></ins><ul id='JvQvl'></ul><sub id='JvQvl'></sub></form><legend id='JvQvl'></legend><bdo id='JvQvl'><pre id='JvQvl'><center id='JvQvl'></center></pre></bdo></b><th id='JvQvl'></th></span></q></dt></tr></i><div id='JvQvl'><tfoot id='JvQvl'></tfoot><dl id='JvQvl'><fieldset id='JvQvl'></fieldset></dl></div>

                  本文介绍了如何使用 youtube api 从播放列表中获取所有视频?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  现在我正在使用这个链接

                  Now i am using this link

                  http://gdata.youtube.com/feeds/api/playlists/plalistID
                  

                  从 YouTube 播放列表中检索视频.但问题是只能获得 25 个视频.但播放列表包含 100 个视频.如何从播放列表中获取所有视频?

                  to retrieve video from YouTube playlist. but the problem is only getting 25 video. but the playlist contains 100 videos. How get all video from playlist?

                  推荐答案

                  Youtube 让您可以为每个请求获取多达 50 个条目.
                  响应包含一些 元素.如果还有更多记录要获取其中之一,则格式为 <link rel='next' ... 例如

                  Youtube let's you fetch up to 50 entries per request.
                  The response contains some <link> elements. And if there are still more records to fetch one of it is of the form <link rel='next' ... e.g.

                  <link
                    rel='next'
                    type='application/atom+xml'
                    href='https://gdata.youtube.com/feeds/api/playlists/plalistID?start-index=26&amp;max-results=25&amp;v=2'
                  />
                  

                  搜索此元素并检索 href 属性指向的文档,直到响应没有 <link rel='next' 元素.

                  Search for this element and retrieve the document that the href attribute points to until the repsonse has no <link rel='next' element.

                  这篇关于如何使用 youtube api 从播放列表中获取所有视频?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Appending GET parameters to URL from lt;formgt; action(将 GET 参数附加到来自 lt;formgt; 的 URL行动)
                  Forcing quot;Save Asquot; dialog via jQuery GET(强制“另存为通过 jQuery GET 对话框)
                  PHP - get certain word from string(PHP - 从字符串中获取某个单词)
                  How to debug a get request in php using curl(如何使用 curl 在 php 中调试 get 请求)
                  get a # from a url in php(从 php 中的 url 获取 #)
                  PHP - include() file not working when variables are put in url?(PHP - 将变量放入 url 时,include() 文件不起作用?)
                  <i id='H62nD'><tr id='H62nD'><dt id='H62nD'><q id='H62nD'><span id='H62nD'><b id='H62nD'><form id='H62nD'><ins id='H62nD'></ins><ul id='H62nD'></ul><sub id='H62nD'></sub></form><legend id='H62nD'></legend><bdo id='H62nD'><pre id='H62nD'><center id='H62nD'></center></pre></bdo></b><th id='H62nD'></th></span></q></dt></tr></i><div id='H62nD'><tfoot id='H62nD'></tfoot><dl id='H62nD'><fieldset id='H62nD'></fieldset></dl></div>

                  1. <tfoot id='H62nD'></tfoot>

                    <small id='H62nD'></small><noframes id='H62nD'>

                    <legend id='H62nD'><style id='H62nD'><dir id='H62nD'><q id='H62nD'></q></dir></style></legend>
                      <tbody id='H62nD'></tbody>

                      <bdo id='H62nD'></bdo><ul id='H62nD'></ul>