TypeScript

youtube-transcript

Fetch transcript from a youtube video

K

Kakulukian

Dernière activité 25 avr. 2026
Kakulukian/youtube-transcript

585

étoiles

119

forks

31

issues ouvertes

Ce README est souvent en anglais.

youtube-transcript

npm version

I wanted to extract a transcript from a youtube video but there was only a python script so I created this to do it in node. This package use unofficial YTB API so it can be broken over the time if no update appears.

Installation

$ npm i youtube-transcript

or

$ yarn add youtube-transcript

or

$ pnpm add youtube-transcript

Usage

import { fetchTranscript } from 'youtube-transcript';

fetchTranscript('videoId or URL').then(console.log);

Methods

  • fetchTranscript(videoId: string [,options: TranscriptConfig]): Promise<TranscriptResponse[]>;

License

MIT Licensed

Projets similaires

Extract YouTube captions, subtitles, auto-generated transcripts, and video metadata with a tiny TypeScript library

TypeScript
Ddevhims
170 étoiles17

This is an MCP server that allows you to directly download transcripts of YouTube videos.

TypeScript
Kkimtaeyoon83
598 étoiles99

Turn YouTube videos into deep learning resources with transcripts, bilingual translation, AI overviews, explanations, and notes. Bring your own keys.

JavaScript
Zzarazhangrui
1,4 k étoiles210