caption_download_response = youtube.captions().download(
id=caption_track_id,
tfmt='srt'
).execute()
HttpError: <HttpError 401 when requesting https://youtube.googleapis.com/youtube/v3/captions/AUieDaY_k5NnAzqjoXutpcTxODYIp5dsRzEPOU7OEDfDRqvqRoU?tfmt=srt&key=AIzaSyAnKtZLrQ5NU2Zw1-k39BrlKuWiVR2XqWg returned "API keys are not supported by this API. Expected OAuth2 access token or other authentication credentials that assert a principal. See https://cloud.google.com/docs/authentication". Details: "[{'message': 'Login Required.', 'domain': 'global', 'reason': 'required', 'location': 'Authorization', 'locationType': 'header'}]">
한줄기 빛과 같은 블로그
https://devdiary.tistory.com/6
https://goodthings4me.tistory.com/910