1.0.0 • Published 7 months ago

youtube-fetch-transcript v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

youtube-fetch-transcript

npm version

Fetch transcript from a YouTube video.

This package uses internal APIs so it can be broken over the time if no update appears.

Usage

import { fetchTranscript } from "youtube-fetch-transcript";

const segments = await fetchTranscript("dQw4w9WgXcQ");

// segments [
//   { text: '[Music]', duration: 14650, offset: 0 },
//   { text: 'thank you', duration: 5701, offset: 16699 },
//   { text: "we're no strangers to love", duration: 7401, offset: 18779 },
//   ...
// ]

Methods

License

Distributed under MIT License (The MIT License).

See LICENSE for more information.

1.0.0

7 months ago

0.0.2

7 months ago