youtube-transcript-api
youtube-transcript-api copied to clipboard
This is a python API which allows you to get the transcript/subtitles for a given YouTube video. It also works for automatically generated subtitles and it does not require an API key nor a headless b...
Interesting case. Video is fresh so transcript is not yet available but closed captions CC are. Is there a way to get those?
Added an assert statement in get_transcripts / get_transcript to check if input is of the expected type - closes #125
Hello, when you watch a video and put the autogenerated subtitles, it seems like the video and the subtitles are perfectly synchronized. It gives the impresion that they have the...
When fetching transcripts for https://www.youtube.com/watch?v=gdsUKphmB3Y, I only get a subset of the available transcripts. Using library: ```python >>> from youtube_transcript_api import YouTubeTranscriptApi >>> video_id = 'gdsUKphmB3Y' >>> transcript_list = YouTubeTranscriptApi.list_transcripts(video_id)...
Adding dockerfile so command can be used via docker images for any cases (eg. testing without having to install anything)
Hi, I'm in a Linux environment and have verified the following before raising this issue: 1. The version in use is youtube-transcript-api==0.4.1 2. From my local Ubuntu 18.04.5 LTS, I'm...
Hello! It'd be great to have the default language of a video available as an attribute on the TranscriptList class. I've been able to get this by accesing the list...
There have been a few issues like #124 where people mistakingly use `get_transcripts` instead of `get_transcript` and pass in a string. This does not a fail as a string is...
A lot of issues are coming in from users who are running versions < v0.4.1, which are no longer compatible to YouTube. To avoid people creating issues for this, the...
As mentioned in #110, attempting to retrieve an age restricted video (without using cookies) currently raises an `TranscriptsDisabled` exception. We should introduce a specific exception for this case to make...