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.81k stars 313 forks source link

Adding the title of the video in the metadata #307

Open santaCruz1854789 opened 1 month ago

santaCruz1854789 commented 1 month ago

This request comes from the necessity to orderly save the transcribed file with a relevant and recognizable name. This addition should contribute to the API involvement in complex apps where you could for instance transcribe and save a batch of videos in an orderly manner.

I would like to have the metadata of the transcription include the title of the video as well.

The alternative is to fetch a YouTube Data API Key through Google Developers Console and use a different dedicated module to request it, which seems a bit and pardon my wording: "overkill."

In my case I'm trying to efficiently save and label video transcriptions file by minimizing the amount of time I have to manually interact with the code. In my case for every video I have to manually change the file name with the title of the video.

Thank you for reading my request.

D1Vincenzo commented 1 month ago

I am looking for this feature too, great to see someone came it up

abhranil26 commented 1 month ago

yes this is needed