YouTube video operations - search, transcript, download info
Search YouTube videos, get transcripts, and video information.
Use web-search or browser:
web-search("site:youtube.com <query>")
Or use YouTube Data API (requires key):
api-call({
url: "https://www.googleapis.com/youtube/v3/search?part=snippet&q=<query>&key=<API_KEY>"
})
Extract video ID from URL:
Use noembed for basic info (no API key):
api-call({
url: "https://noembed.com/embed?url=https://youtube.com/watch?v=<VIDEO_ID>"
})
Option 1: Use yt-dlp (if installed)
yt-dlp --write-auto-sub --skip-download --sub-lang en "https://youtube.com/watch?v=<VIDEO_ID>"
Option 2: Use browser-agent to extract from page
browser-agent("go to youtube video <URL>, click CC button, copy transcript")
Get downloadable formats (yt-dlp):
yt-dlp -F "https://youtube.com/watch?v=<VIDEO_ID>"
Note: Actual downloading may violate ToS. Provide info only.