Find answers from the community

Updated 2 months ago

Hey guys is anyone who knows how to use

Hey guys, is anyone who knows how to use YoutubeTranscriptReader()? Thank you
j
r
G
11 comments
@4c_cccc sorry did not check this. Are you still stuck?
I'm trying too, and the sample code isn't working for me:

from llama_index import download_loader YoutubeTranscriptReader = download_loader("YoutubeTranscriptReader") loader = YoutubeTranscriptReader() documents = loader.load_data(ytlinks=['https://www.youtube.com/watch?v=i3OYlaoj-BM'])
Oh, I've found the error, it's not working if there are hyphens in the videoID. I'll try to create a PR with the solution.
thanks @Guille ! πŸ™‚
Once merged, this should get latest version, right?

download_loader('YoutubeTranscriptReader')
there should be a release after merge.
@ravitheja not for llama-hub stuff, this should be available immediately @Guille . try doing refresh_cache=True though in the download_loader call
Yes, refresh_cache worked! Thanks!
Add a reply
Sign up and join the conversation on Discord