Update youtube.py

This commit is contained in:
Classic298 authored and GitHub committed 2025-05-06 17:14:00 +02:00
1 parent 87dcbd198c
commit 1dcbec71ec
1 file changed
+2 -2
@@ -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.")