langchain icon indicating copy to clipboard operation
langchain copied to clipboard

Youtubeloader for specific languages

Open satoru814 opened this issue 2 years ago • 0 comments

I'm now currentary working on chatbot with the context using Youtube loaders. Is there a way to load non-English video? For now, languages=['en'] is hard-coded in youtube.py like, transcript_pieces = YouTubeTranscriptApi.get_transcript(self.video_id, languages=['en'])

Can I create a PR to change this part to allow language specification? Thank you.

satoru814 avatar Feb 21 '23 10:02 satoru814