muratali016 / Youtube_AI_Detective

MIT License
0 stars 0 forks source link

Can't transcript #1

Closed thvi closed 1 year ago

thvi commented 1 year ago

Failed to fetch transcript: Could not retrieve a transcript for the video https://www.youtube.com/watch?v=sP-21AqAHKw! This is most likely caused by:

No transcripts were found for any of the requested language codes: ['en', 'tr', 'de']

For this video (sP-21AqAHKw) transcripts are available in the following languages:

(MANUALLY CREATED) None

(GENERATED)

(TRANSLATION LANGUAGES)

If you are sure that the described cause is not responsible for this error and that a transcript should be retrievable, please create an issue at https://github.com/jdepoix/youtube-transcript-api/issues. Please add which version of youtube_transcript_api you are using and provide the information needed to replicate the error. Also make sure that there are no open issues which already describe your problem!

muratali016 commented 1 year ago

Hi @thvi , I have added only the languages that I speak. If you want to receive also transcript in French, you can add 'fr' in line 223 in main.py transcript = transcript_list.find_transcript(['en', 'tr', 'de'])