-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
Goal: Compare && Establish API usefulness
There are a few methods for transcribing YT vids ...
- There is a youtube transcription python library
youtube-transcript-apihttps://pypi.org/project/youtube-transcript-api/ - We can also access the youtube api directly with a token
- (associated with this) there is a data library https://github.com/googleapis/google-api-python-client
Both these approaches are relatively valid, though I learn towards the first. It's community backed, and so if there are issues we can talk to someone. We don't have to manage auth either!
Direct transcription of videos, via the youtube API is not available. We're essentially going to get the videos captions off of a video.
What does testing the API looking like?
Testing google data api is easier.
curl 'https://www.googleapis.com/youtube/v3/videos?part=snippet&chart=mostPopular&key=YOUR_API_KEY'
The python library will require more setup, but it's simple(ish)
youtube-transcript-api https://pypi.org/project/youtube-transcript-api/
pip install youtube-transcript-api
youtube_transcript_api <first_video_id> <second_video_id> ... Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers