Tried to get the general idea how to implement such feature. Not really familiar with YouTube API and InnerTube thing, so my experiment might be pretty light-minded. Used this example as a ref:https://github.com/tombulled/innertube/blob/main/examples/get-video-transcript.py ...
The problem, which was revealed by a change in the metadata served by YouTube, applied to bothyoutube-dlandyt-dlpand has been fixed in both programs. There is a release ofyt-dlpthat includes the fix. See#31535for discussion of whether this would be a good choice for you. ...
It is possible to change the language by using the language box at the bottom fo the transcript display. Simply select the transcript text with your mouse, and copy and paste it into a text editor to download the transcript from the YouTube video!
If using API, add 'verbose': True to YoutubeDL params instead Copy the WHOLE output (starting with [debug] Command-line config) and insert it below Complete Verbose Output [debug] Command-line config: ['-vU', 'https://www.bbc.co.uk/ideas/videos/were-not-meant-to-be-happy-all-the...