Skip to content

Could not retrieve a transcript for the video #423

Closed
@jpvardy

Description

@jpvardy

DO NOT DELETE THIS! Please take the time to fill this out properly. I am not able to help you if I do not know what you are executing and what error messages you are getting. If you are having problems with a specific video make sure to include the video id.

Could not retrieve a transcript for the video https://www.youtube.com/watch?v=XJ1CP3UE9PM! This is most likely caused by: Subtitles are disabled for this video

To Reproduce

Steps to reproduce the behavior:

What code / cli command are you executing?

I am running YouTubeTranscriptApi.get_transcript

Which Python version are you using?

python-3.9.16

Which version of youtube-transcript-api are you using?

youtube-transcript-api==0.6.2

Expected behavior

I checked the videos and they have CC English (auto-generated) available

Actual behaviour

Instead I received the following error message:

TranscriptsDisabled(video_id)
youtube_transcript_api._errors.TranscriptsDisabled: 
Could not retrieve a transcript for the video https://www.youtube.com/watch?v=XJ1CP3UE9PM! This is most likely caused by:
Subtitles are disabled for this video

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions