jdepoix / youtube-transcript-api

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 browser, like other selenium based solutions do!
MIT License
2.54k stars 279 forks source link

issue while extracting text from youtube video using youtube_transcript_api #257

Closed Midhun134 closed 4 months ago

Midhun134 commented 4 months ago

Screenshot 2024-02-23 162545

I am using python version 3.11.8

PetrKubes97 commented 4 months ago

Hi, I think the issue might be that the video id is not "rJu-..." but "RgKAFK...". There seem to be some changes in the youtube url structure.

jdepoix commented 4 months ago

@Midhun134 please create an issue where you fill out the issue template