为什么新视频会以不可分配的类别发布?

时间:2016-11-07 12:28:01

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

根据https://developers.google.com/youtube/v3/docs/videoCategories的文档,将videoCategory设置为assignable的{​​{1}}表示视频不能“与该类别相关联。”然而,实际上,我经常看到新发布的视频属于不可分配的类别。例如,类别44,预告片不可分配:

false

但是,半小时前发布的https://www.youtube.com/watch?v=fV4CL3ec-C0属于该类别,可以通过查询{ "kind": "youtube#videoCategoryListResponse", "etag": "\"sZ5p5Mo8dPpfIzLYQBF8QIQJym0/eD61zd9m0XnQ2ZM5b9n0Q8fREKY\"", "items": [ { "kind": "youtube#videoCategory", "etag": "\"sZ5p5Mo8dPpfIzLYQBF8QIQJym0/x5NxSf5fz8hn4loSN4rvhwzD_pY\"", "id": "44", "snippet": { "channelId": "UCBR8-60-B28hp2BmDPdntcQ", "title": "Trailers", "assignable": false } } ] } videos API看到:

list

新视频通过何种机制添加到非{ "kind": "youtube#videoListResponse", "etag": "\"sZ5p5Mo8dPpfIzLYQBF8QIQJym0/NWLSF1NxIRL6hEGPkRpbFpl6ShA\"", "pageInfo": { "totalResults": 1, "resultsPerPage": 1 }, "items": [ { "kind": "youtube#video", "etag": "\"sZ5p5Mo8dPpfIzLYQBF8QIQJym0/TMALCjmdQYcndOpePwtvPYbaBBI\"", "id": "fV4CL3ec-C0", "snippet": { "publishedAt": "2016-11-07T11:00:03.000Z", "channelId": "UCxk91kWNnZEIyE-1HgqzvHw", "title": "USS Indianapolis: The Legacy - Trailer", "description": "Based on the largest collection of original source material available on the subject, The Legacy Project is a complete re-telling of the story of the USS Indianapolis, told first hand, by those who lived through the experience.", "thumbnails": { "default": { "url": "https://i.ytimg.com/vi/fV4CL3ec-C0/default.jpg", "width": 120, "height": 90 }, "medium": { "url": "https://i.ytimg.com/vi/fV4CL3ec-C0/mqdefault.jpg", "width": 320, "height": 180 }, "high": { "url": "https://i.ytimg.com/vi/fV4CL3ec-C0/hqdefault.jpg", "width": 480, "height": 360 }, "standard": { "url": "https://i.ytimg.com/vi/fV4CL3ec-C0/sddefault.jpg", "width": 640, "height": 480 }, "maxres": { "url": "https://i.ytimg.com/vi/fV4CL3ec-C0/maxresdefault.jpg", "width": 1280, "height": 720 } }, "channelTitle": "GravitasVODGlobal", "tags": [ "Military", "WWII", "Indianapolis", "McVay", "Navy", "Atomic Bomb", "Sharks", "Cruiser", "Hunter Scott", "Pacific War" ], "categoryId": "44", "liveBroadcastContent": "none", "localized": { "title": "USS Indianapolis: The Legacy - Trailer", "description": "Based on the largest collection of original source material available on the subject, The Legacy Project is a complete re-telling of the story of the USS Indianapolis, told first hand, by those who lived through the experience." } } } ] } 类别?是否有一些秘密API仅适用于YouTube有特殊处理的某些客户,或者是否有公开记录的机制可以将视频添加到非assignable类别?无论哪种方式,开发人员是否有办法区分这些名义上不属于assignable的类别与那些真正不接受新视频的类别?

0 个答案:

没有答案