yt-transcript-downloader
provides Python functions for downloading YouTube video transcripts into a nice readable format.
Big G's new API update killed functionality for getting closed captions for a video unless you are the video owner. Very unfortunate. This project will be abandoned.
Follow the Google YouTube Data API Python Quickstart tutorial, specifically the Prerequisites and Step 1 parts.
Notes: In Step 1 of the quick start tutorial, you will be asked to create an API key and a OAuth 2.0 client ID. Create the OAuth 2.0 client ID with "Desktop app" as the application type. The tutorial says "Other" but it is outdated. Then, in the OAuth consent screen tab, you want to add your account (your Google email or other) as a test user.
Then, create an empty file in the project root directory named LOGIN_SECRET_FILE.json
.
for t in range(5): print(t)
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Thanks to Make a README.