pi-youtube-transcript
v0.1.2
Published
Pi extension to fetch YouTube video transcripts
Downloads
419
Maintainers
Readme
pi-youtube-transcript
A pi extension that fetches YouTube video transcripts via the youtube-transcript library.
Install
pi install npm:pi-youtube-transcriptUsage
The extension registers a youtube_transcript tool that pi agents can call automatically when you ask about a YouTube video's content.
Example prompt:
Use youtube_transcript to summarize https://youtube.com/watch?v=dQw4w9WgXcQ
Supported URL formats
https://youtube.com/watch?v=VIDEO_IDhttps://youtu.be/VIDEO_IDhttps://youtube.com/shorts/VIDEO_IDhttps://www.youtube.com/live/VIDEO_ID- Bare 11-character video IDs
Language
By default the tool returns the first available transcript. To request a specific language, the agent will pass a lang parameter (ISO language code like "en", "es", "fr").
License
MIT
