【问题标题】:How to detect youtube pay videos using api v3如何使用 api v3 检测 youtube 付费视频
【发布时间】:2018-08-08 11:41:45
【问题描述】:

有没有办法知道视频是免费的还是付费的? 什么属性表示需要付款的视频?

https://www.youtube.com/watch?v=wWu03qUnHlk

{
  "kind": "youtube#video",
  "etag": "\"_gJQceDMxJ8gP-8T2HLXUoURK8c/9J_Rsvw1p9XGci8Ne9GRDP6m6NE\"",
  "id": "wWu03qUnHlk",
  "contentDetails": {
    "duration": "PT1H11M51S",
    "dimension": "2d",
    "definition": "hd",
    "caption": "true",
    "licensedContent": true,
    "regionRestriction": {
      "allowed": [
        "US"
      ]
    },
    "projection": "rectangular"
  }
}

【问题讨论】:

    标签: youtube youtube-api youtube-data-api


    【解决方案1】:

    Youtube API 中没有这样的功能。所有视频属性都在Youtube Resource Representation 中找到,并且没有属性表明它是否已付费。

    Google 工程师在this post 中确认了这一点。

    【讨论】:

      猜你喜欢
      • 2021-11-28
      • 2013-04-20
      • 1970-01-01
      • 2022-01-12
      • 2015-08-10
      • 2016-11-13
      • 1970-01-01
      • 2012-12-09
      • 2015-07-22
      相关资源
      最近更新 更多