Update youtube.py

This commit is contained in:
Classic298 2025-05-06 17:14:00 +02:00 committed by GitHub
parent 87dcbd198c
commit 1dcbec71ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -128,5 +128,5 @@ class YoutubeLoader:
# If we get here, all languages failed # If we get here, all languages failed
languages_tried = ", ".join(self.language) languages_tried = ", ".join(self.language)
log.warning(f"No transcript found for any of the specified languages: {languages_tried}") log.warning(f"No transcript found for any of the specified languages: {languages_tried}. Verify if the video has transcripts, add more languages if needed.")
raise NoTranscriptFound(f"No transcript found for any supported language") raise NoTranscriptFound(f"No transcript found for any supported language. Verify if the video has transcripts, add more languages if needed.")