![]() ![]() If creds and creds.expired and creds. #perform the authentication (1 time only) With open("token.pickle", "rb") as token: #check if authentication has already been completed Here's the code that handles the YouTube Data API authentication SCOPES = Is there any way to download through the YouTube Data API the closed captions of a video I don't own? However whenever I request the captions using the above code I get that error. In the video library, hover over and select Settings on the video you wish to download captions for (Fig. ![]() I have properly created the API credentials and OAuth 2.0 Client IDs and can successfully get video information such as title, channel name, duration etc. Download Captions from Video Settings 1.1. The request might not be properly authorized, or the video order might not have enabled third-party contributions for this caption.". Raise HttpError(resp, content, uri=self.uri) :
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |