Downloading captions using Youtube v3 API

China☆狼群 提交于 2019-12-25 05:45:08

问题


While attempting to download captions for a video (not owned by me) using OAuth 2.0 authorization, I am receiving a 403 Forbidden error which states "The permissions associated with the request are not sufficient to download the caption track. The request might not be properly authorized, or the video order might not have enabled third-party contributions for this caption." On further research, I have found other people also faced the same issue as this, and have not been able to download captions unless the video was uploaded from their own account.

Is there still no possible way of downloading a caption track from a video? How exactly do sites like keepsubs(dot)com, manage to do this then?


回答1:


Captions: download documentation

Authorization

This request requires authorization with at least one of the following scopes (read more about authentication and authorization).

Scope https://www.googleapis.com/auth/youtube.force-ssl https://www.googleapis.com/auth/youtubepartner

The owner of the video will have to authenticate your application using Oauth2 with one of those scopes.



来源:https://stackoverflow.com/questions/32226097/downloading-captions-using-youtube-v3-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!