Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change YoutubeLoader to YoutubeLoaderDL for supporting add_video_info=True #37

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

falconlee236
Copy link

Summary

Change YoutubeLoader to YoutubeLoaderDL for supporting add_video_info=True in rag_from_scratch_10_and_11.ipynb

Description

Past YoutubeLoader class used pytube api.
After Nov. 2024, youtube required oauth to get metadata. but YoutubeLoader class doesn't support pytube's oauth parameter.

So For getting youtube metadata, you use langchain-yt-dlp library. this library use yt-dlp package which is getting metadata without oauth process.

References

langchain-ai/langchain#28775
https://python.langchain.com/docs/integrations/document_loaders/yt_dlp/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant