youtube-transcript

Get the transcript of YouTube videos as timestamped segments, plain text, SRT or WebVTT, from video URLs, Shorts, bare IDs, channel handles or playlists, in a chosen language, with title, channel, duration and views. Compares the free local route (youtube-transcript-api in Python, yt-dlp subtitles), the Sherwood YouTube Transcript Actor on Apify and two unaffiliated Apify Actors (starvibe/youtube-video-transcript, streamers/youtube-scraper with speech-to-text), and picks one from how many videos, whether Python is available and whether captions exist. Use when the user says "youtube transcript of this video", "get the transcript of ", "transcribe this YouTube channel's last 20 videos", "download the subtitles as SRT", "summarize this YouTube video" (transcript first), "transcripts of a whole playlist", "youtube captions to text". Out of scope: downloading the video or audio, YouTube comments, speech-to-text on videos without captions except through the streamers add-on named here.