有没有办法知道视频是免费还是付费?什么属性表示需要付款的视频?
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 API中没有此类功能。所有视频属性都在Youtube Resource Representation中找到,并且没有任何属性表明它是否已付款。
这是由this post的Google工程师确认的。