问题
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